Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

User Commands (g - j) gtacl(1)
EXAMPLES
1. Running an interactive Guardian TACL process:
gtacl
2. Running a TACL command:
gtacl -c ’status *, user
3. Running a Guardian program directly, without using the TACL com-
mand interpreter, using shell quotes to preserve special characters for
interpretation by the Guardian process:
gtacl -p fup ’info \sys.$vol.svol.*’
4. Running a Guardian program directly, without using the TACL com-
mand 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.file
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 file in the Guardian file system:
gtacl -p c < /G/vol/svol/file > listing.output
8. Compiling a C program from a file in the Guardian file system, with out-
put to your Guardian 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 find 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)
527188-021 Hewlett-Packard Company 439