Victor,

Yes this JCL will allocate three tape drive units. DEFER only delays
mounting the volume until open. The device is still allocated whether you
open the dataset on the volume or not.

If your DFSMSdss job has three separate copy or dump statements that open
each of the tape files then you can use UNIT=AFF.

Otherwise you could break this into three separate jobsteps.

Ron

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
> Behalf Of Victor Zhang
> Sent: Thursday, August 21, 2008 8:11 PM
> To: [email protected]
> Subject: [IBM-MAIN] Deferred mount and device allocation
> 
> Hi experts,
> One question regarding tape deferred mount and device allocation,
> supposing
> following JCL statements:
> //STEP1  EXEC PGM=ADRDSSU,REGION=6144K
> //SYSPRINT  DD  SYSOUT=*
> //ODOC1     DD  DISP=NEW,DSN=TEST1.FILE1,
> //             LABEL=(1,SL),UNIT=VTAPE,RETPD=3,VOL=(,,,255)
> //ODOC2     DD  DISP=NEW,DSN=TEST1.FILE2,
> //             LABEL=(1,SL),UNIT=VTAPE,RETPD=3,VOL=(,,,255)
> //ODOC3     DD  DISP=NEW,DSN=TEST1.FILE3,
> //             LABEL=(1,SL),UNIT=VTAPE,RETPD=3,VOL=(,,,255)
> 
> Will JES2 try to allocate 3  tape deivces even the datasets are
> deferred to
> mount(which is default when using stk vtss)? How to delay device
> allocation
> before it is actually be opened?
> 
> Regards
> Victor
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to