NetBatch Manual

NetBatch Manual522460-004
B-1
B NBEXEC
This appendix describes NBEXEC, the NetBatch executor program:
Introducing NBEXEC
NBEXEC is the program-file ID of the NetBatch executor program. Compatible with
BPROC (the batch execution process of obsolete product MIS Batch), NBEXEC
executes control-file commands, supplies data to started processes, and logs process
output. NBEXEC can run as a NonStop process pair and offers a simple-but-powerful
job control language that includes error testing and job-recovery facilities.
TACL Alternative
NBEXEC is an easy-to-learn alternative to the TACL program for job programming. It
also simplifies job migration from MIS Batch to NetBatch by letting you move MIS
Batch jobs to a NetBatch environment without rewriting them.
Application Design Tool
NBEXEC lets programmers define user variables and perform dynamic string
substitution while a job is executing. Input to user programs can be part of the job.
Improved Resource Usage
NBEXEC can detect errors during execution. This feature enables programmers to
embed error testing routines and conditional branching instructions in the job definition.
If an error occurs, these instructions can prevent further, unnecessary processing and
so improve system productivity.
Automatic Restart
NBEXEC can automatically restart processing of a control file from a user-defined
checkpoint if a CPU failure stops a currently executing waited process. Where a control
file contains multiple checkpoints, NBEXEC restarts processing from the last
checkpoint reached before CPU failure.
Topic Page
Introducing NBEXEC
B-1
Command and Variable Reference Summary B-3
NBEXEC Syntax Summary B-5
Note. For detailed information on the NBEXEC program, print the TFORM disk file NBEXDOC
in the NetBatch installation subvolume. NBEXDOC describes NBEXEC’s features and
functions, and describes and gives examples of the syntax, operation, and results of NBEXEC
commands and variables.