Open System Services Management and Operations Guide (G06.29+, H06.07+)

Operating the OSS Environment
Open System Services Management and Operations Guide527191-005
2-40
Using the NetBatch Product
specified, the specified pathname must be a Guardian file identifier and the
program file must reside in that subvolume.
program_args
specifies any arguments expected on a command line by the program_path
program. Such arguments would include the name of an input file.
The general form of the TACL OSH command for batch execution of an OSS shell
script with output routed to OSS files is:
OSH [-c] script_path <- >>script_out_file 2>>err_file
-c
implicitly runs the OSS shell to execute the script as a command. Note that -C
(uppercase C) is not a valid command option.
script_path
specifies the OSS pathname for the OSS shell script file to be run.
If the initial working directory is not the current working directory, relative
pathnames are resolved from the initial working directory. When the initial
working directory is a Guardian subvolume and only a relative pathname is
specified, the specified pathname must be a Guardian file identifier and the
script file must reside in that subvolume.
<-
indicates that the OSS shell started by the command ignores its standard input
(stdin) file.
>>
indicates that the OSS shell appends normal output to the identified file instead
of the standard output (stdout) file.
script_out_file
is the OSS pathname of the file to receive normal output.
If the pathname is not fully qualified, it is resolved from the current working
directory.
2>>
indicates that the OSS shell appends error output to the identified file instead
of the standard error (stderr) file.
err_file
is the OSS pathname of the file to receive exception output.