/JOB and /* Cards
A /JOB card must precede each job to be executed under the batch facility. It identifies your user ID to the batch virtual
machine and provides accounting information for the system. It takes the form:
/JOB must begin in card column one.
- userid
- is your user identification or the user ID under which you want
the job submitted. This parameter controls:
- The user ID charged by the CP accounting routines for the system resources used during a job.
- The name and distribution code that appear on any spooled printer or punch output. Any spooled output will be spooled under the user ID specified.
- The user ID to whom status messages are sent while the batch machine is executing the job.
Note: The first and second items are correct only if the directory for the batch virtual machine involved contains the accounting option. - accntnum
- is your account number. This account number appears in the accounting data generated at the end of your job. It overrides the account number in the CP directory entry for the user ID specified for this job.
- jobname
- is an optional parameter that specifies the name of the job being run. If you specify jobname, it appears as the CP spool file identification in the file type field. The file name field always contains CMSBATCH. See Batch Facility Output for more information.
- comments
- may be any additional information you want to provide.
The /* card indicates the end of a job to the batch facility. It takes the form:
/* must begin in card column one. The batch facility treats all /* cards
after the first as null cards. Therefore, if you want to ensure against the previous job not having
a /* end-of-job indicator, you should precede your /JOB card with a /* card.
The /* card is also treated as an end-of-file indicator when a
file is being read from the input stream. This is a special technique
used in submitting source or data files through the card reader and
is discussed under Batch Exec for a Non-CMS User.
Note:
- Both
/JOB
and/*
must begin in column 1. - The /* card can contain only the characters
/*
. No other characters can appear on this input card.