For example, if your installation's batch virtual machine has a
userid of BATCH1, you punch the card:
ID BATCHl
and place it in front of your deck.When you are going to submit a job using your virtual card punch, you
must firstbe sure that your punch is spooled to the virtual reader of
the batch virtual machine:
cp spool punch to batchlVirtual card input can be spooled to the batch machine in several ways. You may create a CMS file that contains the input control cards and use
theCMS PUNCH command to punch the virtual cards:
punch batch jcl (noheaderWhen you punch a file this way, you must use the NOHEIDER option of the PUNCH command, since the CMS batch facility cannot interpret the header
card that is usually produced by thePUNCH command. As it does with
cards in an invalid format, the batch virtual machine would flush the
header card.You can use an EXEC procedure to sub.it input to the batch machine.
From anEXEC, you can punch one line at a time into your virtual punch,
using the&PUNCH and &BEGPUNCH EXEC control statements. When you do
this, you must remember to use theCP CLOSE command to release the spool
punch file when you are finished:CP CLOSE PUNCH If you are using the EXEC to punch individual lines and entire CMS files
to be read by the batch virtual machine as one continuous job stream,
you must remember to spool your punch accordingly:CP SPOOL PUNCH CONT &PUNCH /JOB BOSWELL 999888 PUNCH BITCH JCL * (NOHEADER CP SPOOL PUNCH NOCONT CP CLOSE PUNCH A /JOB card must precede each job to be executed under the batch
facility. It identifies your userid to the batch virtual machine and
provides accounting information for the system. It takes the form:/JOB userid accntnum [jobname] [comments]
228 IBMVM/370 eMS User's Guide
userid of BATCH1, you punch the card:
ID BATCHl
and place it in front of your deck.
must first
the batch virtual machine:
cp spool punch to batchl
the
punch batch jcl (noheader
card that is usually produced by the
cards in an invalid format, the batch virtual machine would flush the
header card.
From an
using the
this, you must remember to use the
punch file when you are finished:
to be read by the batch virtual machine as one continuous job stream,
you must remember to spool your punch accordingly:
facility. It identifies your userid to the batch virtual machine and
provides accounting information for the system. It takes the form:
228 IBM