Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
User Commands (g - j) gtacl(1)
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.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 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 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)
• 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
file.
527188-004 Hewlett-Packard Company 4−33