DRL SPAWN (octal 26) - submit a batch job.
Usage:
lda =3hXX0,du
ora wait,dl
eaq filnam
drl spawn
zero L(snumb),L(buffer)
Where:
- snumb
- is a 1 word area with a SNUMB obtained from DRL SNUMB.
- buffer
- is a 325-word work area provided by the caller.
This is used to format control data that will overwrite the
first llink of the file.
- filnam
- Two ASCII words with the name of a temporary sequential file
in the AFT.
- XX
- The upper 12 bits of the A-register contain two BCD characters
with the remote station code where the job output is to be sent.
A station code of "00" (zeroes) is used to indicate the
local (main system) station.
- wait
- The value in the lower half of the A-register indicates
if the DRL should wait for job completion.
If "wait" is zero, the DRL will return as soon as the job
is submitted to GEIN.
If non-zero, the DRL will not return until the the job completes.
Description:
DRL SPAWN submits a temporary sequential file as the input deck for
a batch job.
The upper half of the Q-register points to the two ASCII words
with the AFT name of the file.
The first llink of the file will be overwritten with control
information for GEIN.
The input deck begins with the second block; this block is numbered "1".
This deck must have a SNUMB and an ENDJOB as in a normal card-image
deck, and it must end with an end-of-file.
The file is in card image format.
The "$" control cards must be card image BCD (media 2).
When control returns to the caller, any error condition will
be indicated in the Q-register.
The one-digit error code, right-justified in QU, may be any one
of the following.
- 0
- no error.
- 1
- undefined file.
- 2
- no PAT for PASFIL.
- 4
- SNUMB not given.
- 5
- no program number available; try later.
- 6
- system scheduler queue full; try later.
- 7
- invalid station-id.
See Also:
- expl drl pasflr
- for a similar DRL that sets JOUT disposition.
Copyright © 2000, Thinkage Ltd.