Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
User Commands (g - j) gtacl(1)
gtacl -c ’fileinfo $vol.subvol.*’ > fileinfo.output
then the gtacl process runs TACL with an IN file named $X123.#CMD and an OUT file named
$X123.#OUT. When TACL first reads from $X123.#CMD, gtacl returns the string fileinfo
$vol.subvol.*; on the next read, gtacl returns an end-of-file indication. Any output from TACL
to $X123.#OUT is written by gtacl to its own OSS environment standard output file, which has
been connected to the OSS environment file fileinfo.output by shell redirection.
Input/OutputFiltering
The gtacl process automatically converts line endings for data passing between the two environ-
ments. When gtacl encounters a newline indicator in input from the OSS environment, it
removes that character and forwards the line as a separate record to the Guardian environment.
When gtacl encounters the end of a record in input from the Guardian environment, it forwards
the line with a newline indicator to the OSS environment. This conversion is the primary filter-
ing done to the data.
The following conditions limit the effectiveness of gtacl filtering:
• Filtering can be used only for data passing through OSS environment
standard input, output, and error files and Guardian environment IN,
OUT, and STDERR files. Any files directly opened by a Guardian
environment process cannot be filtered.
• Some Guardian processes do not accept a process file as an input or out-
put file. Filtering will not work with such Guardian processes.
• If filtering is used with redirection and either the -c command or -cv
command option, it cannot be used for filtering standard input. When
either of these options is specified, gtacl ignores its standard input file.
For example, the following command will not work because the input
from myfile.tgal is ignored:
gtacl -c ’tgal /OUT $s.#hold/’ < myfile.tgal
Instead, either use an explicit Guardian input file:
gtacl -c ’tgal /IN MYFILE, OUT $S.#HOLD/’
or use the -p pathname option to run TGAL directly:
gtacl -p tgal < myfile.tgal | lp -d hold
• When the -nowait option is used with input/output filtering, the child
process can fail to do either of the following:
— open one or more of the gtacl standard files because gtacl has
stopped running
— access one or more of the gtacl standard files because gtacl has
stopped running
To avoid these problems, do not use the -c, -cv, -i,or+i options. Use
only files that can be opened from within the Guardian environment for
standard input and output when you use the -nowait option.
527188-021 Hewlett-Packard Company 4−41