NetBatch Manual

Commands
NetBatch Manual522460-004
6-52
ALTER ATTACHMENT-SET Command
the BATCHCOM process to stop when a third error occurs. Note the completion code
(2) when the process stops and the reported warnings (1) and errors (3).
> BATCHCOM /IN INFILE/ $ZBAT
ALLOW 2 ERRORS
SUBMIT JOB A, IN A, OUT $S.#A, AT 20:30
2056-E AT-ALLOWED is currently OFF; submit AFTER time
SUBMIT JOB B, IN B, OUT $S.#B, CLASS OPS
2105-E CLASS OPS does not exist
SUBMIT JOB C, IN C, OUT $S.#C, AFTER 23:00
Job C job number 125 submitted
0513-W IN file does not exist; create and secure as required
SUBMIT JOB D, IN D, OUT $S.#D, TAPDRIVES 1
SUBMIT JOB D, IN D, OUT $S.#D, TAPDRIVES 1
-^-0290-
E Invalid command SUBMIT JOB
STOPPED: 1,51
CPU time 0:00:00.350
2: Process terminated with fatal errors or diagnostics
Termination Info 2056
Subsystem TANDEM.9.D20
BATCHCOM: 1 warnings and 3 errors
>
ALTER ATTACHMENT-SET Command
Use the ALTER ATTACHMENT-SET command to change attachment-set attributes.
file-name
specifies a command output file. The file can be a device, a process, or a disk file.
For a disk file, BATCHCOM appends output if the file exists, but creates an EDIT
file if the file does not exist. If you specify / OUT / (that is, omit file-name),
BATCHCOM suppresses output.
user-ID
specifies a user ID or a range of user IDs specified with the asterisk (*) and
question mark (?) wild-card characters. (user-ID must be in group-name.
user-name or group-ID,user-ID form.) The default is the user ID of the
current user.
attachment-set-ID
is one of:
ALT[ER] [ ATTACHMENT-SET ] [ / OU[T] [ file-name ] / ]
{ [ ( user-ID ) ] attachment-set-ID | #CURRENT }
, attribute [ , attribute ]…