NetBatch Manual

Commands
NetBatch Manual522460-004
6-112
OBEY Command
ALTER, DEFAULT-EXECUTOR-PROGRAM \MELBDEV.$SYSTEM.SYSTEM.TACL
ALTER, MAX-PRI 199
ALTER, DEFAULT-PRI 120
ALTER, MAX-CONCURRENT-JOBS 1,1
ALTER, DEFAULT-SELPRI 3
ALTER, DEFAULT-MAXPRINTLINES NONE
ALTER, DEFAULT-MAXPRINTPAGES NONE
ALTER, TAPEDRIVES 2
ALTER, DEFAULT-OUT \MELBDEV.$S.#BATCH
ALTER, DEFAULT-CLASS DEFAULT
ALTER, DEFAULT-STALL OFF
ALTER, DEFAULT-STOP-ON-ABEND OFF
ALTER, DEFAULT-HIGHPIN OFF
ALTER, CATCHUP ON
ALTER, EMS OFF
OBEY Command
Use the OBEY command to execute BATCHCOM commands contained in a disk file.
file-name
is the name of a disk file containing BATCHCOM commands. The file can include
nested OBEY commands specified directly in the file itself or indirectly in files
opened by those commands.
Considerations
The OBEY command is available to all users.
To stop BATCHCOM executing the commands contained in file-name, press
the BREAK key on the terminal used to enter the OBEY command.
Example
This example shows execution of four OBEY commands, three of which occur as
nested commands in files A through C (see figure). File D’s OBEY command fails
because BATCHCOM cannot open any more files. (When execution fails, the open
files are the terminalopened by the RUN BATCHCOM commandand files A
through D.)
O[BEY] file-name
Note. The number of OBEY commands you can nest depends on the number of files those
commands cause BATCHCOM to open concurrently. BATCHCOM can handle up to five open
input files at a time.