NetBatch Manual
NBEXEC
NetBatch Manual—522460-004
B-6
Control-file ($) Commands
S[YNTAX]
causes NBEXEC to validate the syntax of, but not execute, statements in file-
name.
Control-file ($) Commands
•
$ALLOW determines whether NBEXEC allows or disallows errors when executing
control-file commands:
$ALLOW { ERRORS NOERRORS }
•
$CHAIN causes NBEXEC to execute the next command from a specified file or
label:
$CHAIN { file-name , LABEL label file-name , LABEL label }
•
$CHKPNT defines a restart point in the NBEXEC control file or declares there is no
current restart point:
$CHKPNT { OFF ON }
•
$GOTO causes NBEXEC to continue processing from a specified label:
$GOTO label
•
$IF causes NBEXEC to test a condition and transfer command processing if the
condition is true:
$IF [ NOT ] { logical-variable $GOTO label #NEXTFILENAME
$GOTO label
string-identifier { <
<=
=
==
>
>= } { " literal " string-identifier}
$GOTO label }
string-identifier specifies a string identifier in the form:
variable-name [ @ edit-start ] [ : edit-length ]
•
$KILL determines whether NBEXEC terminates processes running with the
NOWAIT option when the NBEXEC process stops:
$KILL { OFF ON }
•
$LIST determines what NBEXEC logs to its output file:
$LIST { BATCH OFF ON }
•
$MESSAGE causes NBEXEC to send a message to $0 or to a specified device or
process:
$MESSAGE [ OPR $device-name $process-name ]
[ , NOHEAD ] [ , WAIT centiseconds ] / [ text ]