-----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Tom Marchant Sent: Thursday, June 22, 2017 12:29 PM To: [email protected] Subject: Re: VSAM file as GDS
On Thu, 22 Jun 2017 13:11:20 +1000, Wayne Bickerdike wrote: >Just take off the LIKE parameter. The GDG should have a model DSCB. Why >make things so hard? The "Model DSCB" is an uncataloged data set with the same name as the GDG, located on the volume that holds the catalog containing the GDG. As such, it is incompatible with SMS, and it cannot be used with SMS-managed data sets. LIKE and its cousins are the recommended way to do it with SMS. -- Tom Marchant ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN First of all, a caveat. I don't like MDCBs and have been trying to convince my employer to get rid of them as long as I've been here. That being said, we have a volume that has very little on it besides thousands of cataloged MDCBs without any catalogs on the volume. The people in charge of maintaining JCL insist upon having them and reference them specifically in the JCL. Example: //PFILE DD DSN=A.B.C.D(+1), // UNIT=TAPE, // DCB=MDCB.A.B.C.D, // DISP=(NEW,CATLG,DELETE) Rex The information contained in this message is confidential, protected from disclosure and may be legally privileged. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any disclosure, distribution, copying, or any action taken or action omitted in reliance on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to this message and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
