Your ODD statements do not specify the correct DDNAME of TAPE1 or TAPE2

_________________________________________________________________
Dave Jousma
Assistant Vice President, Mainframe Engineering
[email protected]
1830 East Paris, Grand Rapids, MIĀ  49546 MD RSCB2H
p 616.653.8429
f 616.653.2717



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Mainframe Sysprog
Sent: Thursday, September 25, 2014 8:41 AM
To: [email protected]
Subject: Fwd: Refer Back in JCL

I think the previous post didn't work due to incorrect email. Trying it again 
on another email. Sorry if it gets posted twice!

---------- Forwarded message ----------
From: Mainframe Sysprog <[email protected]>
Date: Thu, Sep 25, 2014 at 6:06 PM
Subject: Refer Back in JCL
To: IBM Mainframe Discussion List <[email protected]>


Hi All,

I have been trying the REFER Back statement in JCL to take multiple backups on 
a 3592 tape using a JCL such as below. However, for some reason this doesn't 
seem to be working.

//STEP1    EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//DASD1    DD UNIT=3390,VOL=SER=RSDV01,DISP=SHR
//TAPE1    DD DSN=CIMSSP.TAPE3592.BACKUP.RSDV01,
//         UNIT=3592ATLC,DISP=(NEW,CATLG),LABEL=(1,SL),
//         RETPD=1,VOL=(,RETAIN)
//SYSIN    DD *
  DUMP IDD(DASD1) ODD(TAPE) -
     DATASET(INCLUDE(**))
/*
//STEP2    EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//DASD2    DD UNIT=3390,VOL=SER=RSDV02,DISP=SHR
//TAPE2    DD DSN=CIMSSP.TAPE3592.BACKUP.RSDV02,
//         UNIT=3592ATLC,DISP=(,CATLG),LABEL=(2,SL),
//         RETPD=1,VOL=(,RETAIN,REF=*.STEP1.TAPE1)
//SYSIN    DD *
  DUMP IDD(DASD1) ODD(TAPE) -
     DATASET(INCLUDE(**))

I keep getting an error such as :

IGD306I UNEXPECTED ERROR DURING CBRXLCS PROCESSING  326 RETURN CODE 12 REASON 
CODE 67 THE MODULE THAT DETECTED THE ERROR IS IGDIDMUS SMS MODULE TRACE BACK - 
IDMUS IDMSU IDM00 SSIRT SYMPTOM RECORD CREATED, PROBLEM ID IS IGD00148

The backups work fine if I try only one backup at a time.

Does anybody see any errors with my JCL or have any suggestions on what should 
I look at?

Thanks
Varun

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

This e-mail transmission contains information that is confidential and may be 
privileged.   It is intended only for the addressee(s) named above. If you 
receive this e-mail in error, please do not read, copy or disseminate it in any 
manner. If you are not the intended recipient, any disclosure, copying, 
distribution or use of the contents of this information is prohibited. Please 
reply to the message immediately by informing the sender that the message was 
misdirected. After replying, please erase it from your computer system. Your 
assistance in correcting this error is appreciated.


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

Reply via email to