
Processing Tape Datasets Multi-Dataset Processing Examples
Chapter 7. Running Jobs With BIM-EPIC 7-23
Whenever a subdataset such as VERY.LONG.NAME.FOR.NEWSUB.3 is accessed, the
prime dataset name must be referenced in the JCL. The following example shows how
VERY.LONG.NAME.FOR.NEWSUB.3 can be read as input:
// JOB XYZ
*
* ---------------------------------------------------------------+
* READ VERY.LONG.NAME.FOR.NEWSUB.3 AS INPUT. THE PRIME DATASET +
* NAME (VERY.LONG.NAME.FOR.PRIME.1) MUST BE SPECIFIED AND +
* REFERRED TO BY THE DD FOR THE SUBDATSET. PROGY+
* PERFORMS 1 OPEN FOR DTFNAME TAPEIN.
* ----------------------------------------------------------+
*
* //DUMMY DD DSN='VERY.LONG.NAME.FOR.PRIME.1(0)',
* // UNIT=TAPE
* //TAPEIN DD DSN='VERY.LONG.NAME.FOR.NEWSUB.3(0)',
* // UNIT=TAPE,
* // DISP=(OLD),
* // VOL=REF=*.DUMMY
// EXEC PROGY
/*
/&
Note the use of the DTF name DUMMY in DD statements. This is also known as the
ddname. Any ddname except TAPEIN can be used because PROGY performs an open for
TAPEIN, not DUMMY.
Example 5
Comentarios a estos manuales