And in STEP2, your IDD should be: IDD(DASD2)
From: "Jousma, David" <david.jou...@53.com> To: IBM-MAIN@LISTSERV.UA.EDU, Date: 09/25/2014 07:48 AM Subject: Re: Refer Back in JCL Sent by: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> Your ODD statements do not specify the correct DDNAME of TAPE1 or TAPE2 _________________________________________________________________ Dave Jousma Assistant Vice President, Mainframe Engineering david.jou...@53.com 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:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Mainframe Sysprog Sent: Thursday, September 25, 2014 8:41 AM To: IBM-MAIN@LISTSERV.UA.EDU 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 <mainframe.sysp...@gmail.com> Date: Thu, Sep 25, 2014 at 6:06 PM Subject: Refer Back in JCL To: IBM Mainframe Discussion List <ibm-m...@bama.ua.edu> 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 lists...@listserv.ua.edu 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN ********************************************************************** This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN