When I used to work on CPCS, we would stack 10 SYSUDUMP DDCARDS in the JCL so we could CLOSE with a FREE=CLOSE and get the dump
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of George Rodriguez Sent: Wednesday, June 7, 2017 2:34 PM To: [email protected] Subject: Re: What Happens with Duplicate DD Cards in JCL? I thought that too a JCL error, but no the programmer didn't get a JCL error! *George Rodriguez* *Specialist II - IT Solutions* *IT Enterprise Applications* *PX - 47652* *(561) 357-7652 (office)* *(954) 415-7586 (mobile)* *School District of Palm Beach County* *3348 Forest Hill Blvd.* *Room B-251* *West Palm Beach, FL. 33406-5869* *Florida's Only A-Rated Urban District For Eight Consecutive Years* On Wed, Jun 7, 2017 at 3:01 PM, Lizette Koehler <[email protected]> wrote: > I think it depends on how the program handles it. > > Do you get any JCL errors? > > Do you get any errors when the program runs like this? > > Any details you can share? > > Lizette > > > > -----Original Message----- > > From: IBM Mainframe Discussion List > > [mailto:[email protected]] On Behalf Of George Rodriguez > > Sent: Wednesday, June 07, 2017 11:54 AM > > To: [email protected] > > Subject: What Happens with Duplicate DD Cards in JCL? > > > > I have this programmer that coded the following DD cards in JCL. I'm > > not > 100% > > sure what z/OS v1.13 does with the first DD card for a KSDS VSAM > > file, > but I > > think it gets replaced by the second. Here is an example of the JCL: > > > > //PRTOUT DD SYSOUT=X > > //* VSAM FILES > > //PBGDD DD DSN=TM#TEST.FILE > > //PBSF1 DD DSN=TM#PROD.FILE > > //PBSF1 DD DSN=TM#TEST.FILE > > > > My thought, second PBSF1 (test file) replaces PBSF1 (production file). > > > > Thanks in advance! > > > > *George Rodriguez* > > *Specialist II - IT Solutions* > > *IT Enterprise Applications* > > *PX - 47652* > > *(561) 357-7652 (office)* > > *(954) 415-7586 (mobile)* > > *School District of Palm Beach County* > > *3348 Forest Hill Blvd.* > > *Room B-251* > > *West Palm Beach, FL. 33406-5869* > > *Florida's Only A-Rated Urban District For Eight Consecutive Years* > > > > -- > > > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to [email protected] with the message: INFO IBM-MAIN > -- *Disclaimer: *Under Florida law, e-mail addresses are public records. If you do not want your e-mail address released in response to a public records request, do not send electronic mail to this entity. Instead, contact this office by phone or in writing. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
