If I understand you correctly, you're saying that the +1 generation gets catalogued if on a disk, but not if on a tape. In a disk SMS environment, the creating of a disk dataset and cataloging thereof causes no problem because SMS usually "initializes" the dataset with an end-of-file. In the case of a tape dataset, the dataset is "initialized" only if an OPEN is done on it. I don't know how it is done, but z/OS does not catalog a tape dataset which was not OPEN'ed. The "solution" is to OPEN the tape dataset. If you can't do it in any other way, you could always use IEBGENER to copy a DD DUMMY (0 records) to the tape. Either with DISP=(NEW,CATLG) on a step before the current step, changing the current step to DISP=(MOD,CATLG). Or on a subsequent step with DISP=(MOD,CATLG). At least, this is how I do it.
-- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM > -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[email protected]] On Behalf Of Miklos Szigetvari > Sent: Tuesday, February 21, 2012 4:11 AM > To: [email protected] > Subject: Empty GDG dataset handling question > > Hi > > We generated GDG's from a job. , > The problem is with EMPTY GDG , for DISK , the dataset exists > , for tape > no new generation > Can we handle this from JCL ? > > ---------------------------------------------------------------------- > 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

