The jobname, if provided on the /JOB card, is saved and a message is
issued viaSVC to inform the source userid that the job has started.
The spooling devices are closed and respooled for continuous output, aCP QUERY FILES command is issued for information purposes and the
impliedCP function under CKS is disabled and the protection feature set
off viaSVC calls to SET (DKSSET). The BATPROF EXEC is executed via an SiC to EXEC. The BATHOEX flag, which is set by to suppress user
job execution until the/JOB card is detected, is set off. The BATUSEX flag is set on (for DKSCPF) to signal the start of the actual user job,
and a branch istaken to read the next card from the reader file (user
job).
After reading the/JOB card, DMSBTP continues reading and checks for
a /* card, a/SET card, or a CP command. If a card is none of these, DMSBTP passes control back to the command processor DMSINT for
processing of thecommand (or data) • If a 1* card is read and it is the first card of the new job, it is
assume tote a precautionary measure and thus ignored by DMSBTP Which then reads the next card. If it is not the first card a check is made for the BATMOVE flag. If the flag is on, the /* card indicates an
end-of-file condition for theMOVEFILE operation from the console
(reader) and is consequently translated to a null line for theMOVEFILE command. If the BATMOVE flag is not on, the /* card is and end-of-job
indicator and an immediate branch is taken to the end-of-job routine for
cleanup and reloading ofCMS batch. When a CP command is encoutered DMSBTP branches to a routine that
first checks a table ofCP commands allowable in batch. If the command is allowed, a check is made for a reader or other spool device in the command line. If the CP command is allowed but would alter the status
of the batch reader or any spooling device or certain disks, or if the
command is not allowedat· all, error message DMSBTP107E is typed, and
the next card is read.
If theCP command is LINK, the device address is stored in a table so
thatDMSBTP can detach all user disk devices at the end of the job.
ACP DETACH command is examined for a device address corresponding to
the systemdisk, the IPL disk, the batCh 195 work disk or any spool
device. If the device to be detached is any of these, error messageDMSBTP107E is displayed and the next card is read. Otherwise, DMSBTP returns control to DKSINT (or DMSCPF is the EATCPEX flag is set on) for
processingof the command. When a /SET control card is encountered, the card is checked fer
valid keywords, valid integer values (less than or equal to the
installation default values), and if an error is detected, error messageDMSBTP108E is typed. An abnormal termination message is also sent to
the source userid and the job is terminated withnormal cleanup
performed. If the control card values are valid, the appropriate fields
are updated in the user job li.it tableDMSBTPLM and the next card is
read.
IfDMSBTP detects a "not ready" condition at the reader, a message is
typed at the console stating that batch is waiting for reader input.DMSBTP then issues the WAITD macro to wait for a reader interrupt. When first detecting the empty reader, DMSBTP calls the CP accounting
routines via aCP diagnose '4C' to charge the wait time to the hatch userid. CMS Method of Operation and Program organization 2-151
issued via
The spooling devices are closed and respooled for continuous output, a
implied
off via
job execution until the
and a branch is
job).
After reading the
a /* card, a
processing of the
assume to
end-of-file condition for the
(reader) and is consequently translated to a null line for the
indicator and an immediate branch is taken to the end-of-job routine for
cleanup and reloading of
first checks a table of
of the batch reader or any spooling device or certain disks, or if the
command is not allowed
the next card is read.
If the
that
A
the system
device. If the device to be detached is any of these, error message
processing
valid keywords, valid integer values (less than or equal to the
installation default values), and if an error is detected, error message
the source userid and the job is terminated with
performed. If the control card values are valid, the appropriate fields
are updated in the user job li.it table
read.
If
typed at the console stating that batch is waiting for reader input.
routines via a