Paqe of GC20-1819-2 As Updated April 27, 1981 by TNL SN25-0828
For 5748-XE1 RESTRICTIONS ON CP AND CMS COMMANDS IN BATCH JOBS The batch facility permits the
The followinq CP commands can
machine:
CHANGEl CLOSEt DETACH2 DUMP DISPLAY LINK3 NoteĀ§ : MSG QUERY REWIND SMSG SPOOL1 STORE TAG
use of many CP and most eMS commands.
be used to control the batch virtual
1. These commands may not be used to affect the virtual card reader.
2. You can not use this command to detach any spooling devices or the
system or IPL disks.
3. The LINK command must be entered on one line in the format: CP LINK userid vaddr vaddr mode password
None of the LINK command keywords (AS, PASS, TO) is accepted. If
the disk has no password associated with it, you must enter the
password as ALL. A maximum of 26 links may be in effect at anyone
time.
All CP commands in a batch job must be prefaced with the "CP"
command.
Since the batch virtual machine reads from its card reader, you
cannot use the following commands or operands that affect the card
reader: ASSGN SYSxxx READER (CMS/DOS only) DISK LOAD FILEDEF READER
READCARD
The RDCARD macro cannot be used by jobs that run under the CMS batch
machine.
Invalid SET command operands are:
BLIP EMSG IMPCP INPOT OUTPUT REDTYPE RELPAGE PROTECT All the other operands of the SET command can be used in a job executing
in the batch virtual machine. !Qte: If the SET TIMER REAL command is used for the batch machine, the
timer expires every two seconds (even while the batch machine is waiting
for the reader). To avoid this problem, use the command SET TIMER ON. 232 IBM VM/370 CMS User's Guide
are printed with the CLOSE, PURGE, ORDER, and CHANGE commands. See the
following section "purging, Reordering, and Restarting Batch Jobs."
Output files produced by the batch virtual machine are identifiable
by the filename CMSBATCH in the CP spool file name field. The spool file
type field contains the filetype JOB, unless you specified a jobname cn
the /JOB card. This applies to both printer and punch output files.
In addition to your regular printed output, the CftS batch facility
spools a console sheet that contains a record of all the lines read in,
and the responses, error messages, and return codes that resulted from command or program execution. This file is identified by a spool file
name of BATCH and a spool file type of CONSOLE. PURGING, REORDERING, AND RESTARTING BATCH JOBS When required, you can control the execution of batch virtual machine
jobs by purging, reordering, and restarting them; by the same token,
because all the closed printer files are queued for system output under
the submitting userid, you can change, purge, or reorder these files
prior to processing on the system printer.
To purge a job executing under the batch monitor, follow the
procedure below:
1. Signal attention and enter the virtual machine environment. 2. Enter the HI (halt execution) Immediate command.
3. Disconnect the virtual machine using the CP DISCO!! command. The HX command causes the batch facility to abnormally terminate.
This provides the user with an error message and a CP dump of the batch
facility virtual machine. The batch monitor then loads itself again and
starts the next job (if any).
To purge an individual input spool file that is not yet executing,
issue the CP PURGE command: PURGE READER spoolid
In the format above, spoolid is the spool file number of the job to
be purged from the batch virtual machine's job queue. For example, the
statement: PURGE READER 123
would purge 123 from the batch virtual machine's job queue.
To reorder individual spool files in the batch facility's job queue,
use the CP ORDER command: ORDER READER spoolid1 spoolid2 ā€¢ā€¢ā€¢ In this format, spoolid1 and spoolid2 are the assigned spool file
identifications of the jobs to be reordered. You can determine which jobs are in the queue by using the CP QUERY command: QUERY READER ALL Section 12. Using the eftS Batch Facility 233
Previous Page Next Page