Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

gtacl(1) OSS Shell and Utilities Reference Manual
2. Running a TACL command:
gtacl -c status *, user
3. Running a Guardian program directly, without using the TACL command interpreter,
using shell quotes to preserve special characters for interpretation by the Guardian pro-
cess:
gtacl -p fup info \sys.$vol.svol.*
4. Running a Guardian program directly, without using the TACL command interpreter (the
shell escape character \ prevents the shell from expanding the * character):
gtacl -p fup rename \*, newsvol.\*
5. Running a Guardian program directly and passing a string containing a blank within an
operand:
gtacl -p locate "two words" $vol.svol.le
6. Running a server program ($NULL) using the -nowait option. In this example the null
program is passed a value of 1 for the backup CPU.
gtacl -nowait -name /G/null -cpu 0 -p /G/system/system/null 1
7. Compiling a C program from a le in the Guardian le system:
gtacl -p c < /G/vol/svol/le > listing.output
8. Compiling a C program from a le in the Guardian le system, with output to your Guar-
dian default subvolume:
gtacl -p c < /G/vol/svol/bit1C ; nolist,runnable
9. Looking up the meaning of an errno value:
gtacl -p error$ERRNO
FILES
/G/system/system/tacl
Used as the default Guardian program to be executed. If the operating system
cannot nd the program with this pathname, it attempts to uses a copy from the
current SYSnn subvolume.
NOTES
The gtacl command is commonly used to:
Start an interactive TACL process (gtacl)
Execute a single Guardian environment command (gtacl -c command or gtacl -cv com-
mand)
Run a Guardian environment program (gtacl -p prog args)
Using the -c or -cv option to run a Guardian process has the following advantages:
You can use Guardian environment user defaults and macros set up in a TACLCSTM
le.
436 Hewlett-Packard Company 527188-007