I usually use UNIT=AFF=SMFIN - Maybe you can try that instead.  

Not sure of the syntax but it always works for me.

Thank You 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Tony Thigpen
Sent: Friday, May 04, 2018 2:35 PM
To: [email protected]
Subject: unexpected tape issue with RETAIN

I have a 50+ step backup job (using real 3590s) that has steps like:

//STEP049 EXEC PGM=ADRDSSU
//SYSPRINT DD  SYSOUT=*
//DASD     DD  DISP=SHR,UNIT=3390,VOL=SER=HKYTD4
//BACKUP   DD  DSN=DR.T.DSS.HKYTD4.&SUF,DISP=(NEW,KEEP,DELETE),
//             UNIT=3590,VOL=(,RETAIN,REF=*.STEP048.BACKUP),
//             LABEL=(49,SL,RETPD=&DAYS),DCB=(MODEL.DSCB,BLKSIZE=0)
//SYSIN    DD  *
  DUMP FULL INDD(DASD) OUTDD(BACKUP) ALLD(*) ADMIN TOL(IOER) ALLE
/*
//*
//STEP050 EXEC PGM=ADRDSSU
//SYSPRINT DD  SYSOUT=*
//DASD     DD  DISP=SHR,UNIT=3390,VOL=SER=HKYTD5
//BACKUP   DD  DSN=DR.T.DSS.HKYTD5.&SUF,DISP=(NEW,KEEP,DELETE),
//             UNIT=3590,VOL=(,RETAIN,REF=*.STEP049.BACKUP),
//             LABEL=(50,SL,RETPD=&DAYS),DCB=(MODEL.DSCB,BLKSIZE=0)
//SYSIN    DD  *
  DUMP FULL INDD(DASD) OUTDD(BACKUP) ALLD(*) ADMIN TOL(IOER) ALLE
/*

This job always worked on OS/390 2.10, but under z/OS 1.13, randomly, 
when going to a new step, it wants the current tape mounted on a 
different 3590. Additionally, it does not unload the tape from the first 
drive.

Also: If I have only one drive online, it runs to completion. If I have 
two drives, but the other one is busy, it runs to completion.

Info: This system is using RMM as a tape manager, but the files being 
created on the tape are not defined in any storage group or RMM.

It is driving me batty. I have to be 'not seeing' something.


-- 
Tony Thigpen

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

*** Disclaimer ***
This communication (including all attachments) is solely for the use of the 
person to whom it is addressed and is a confidential AAA communication. If you 
are not the intended recipient, any use, distribution, printing, or copying is 
prohibited. If you received this email in error, please immediately delete it 
and notify the sender.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to