You're describing a GDG with a limit of 1 :-) On Feb 23, 2012 7:16 PM, "Jeffery Swagger" <[email protected]> wrote:
Excellent idea. Annoying that something like this wasn't implemented decades ago. However, in the spirit of SHARE requirements, "Ask IBM for the required function; Don't tell them how to do it", I'll offer a stab at it. "We would like a disposition parameter, for illustration purposes we'll call DISP=NEWO (for NEW or OLD), which would work exactly like DISP=MOD except that the read/write pointer would be positioned at the beginning of the dataset, as opposed to DISP=MOD pointing it to the end of the dataset." Not a SHARE member here. Maybe someone who is might want to take off and run with this? -- Jeff McKown, John said the following on 2/23/2012 4:47 PM: > On second thought, the easiest thing might be to have the initiator do a > catalog lookup. If the DSN exists, change the DISP to OLD, which overwrites > the old data, only IF THE DATASET IS OPENED. If the DSN does not exist, > change the DISP to NEW. But I'd still prefer that the initiator do a > SCRATCH and reallocate the dataset, but do this at step initiation. > CA-11scratches all NEW datasets when it executes (as the first step in the > job). So, if the creating job step is flushed, the dataset ceases to > exist.Which may or may not be a "good thing". > > > > > > -- > > John McKown > > Systems Engineer IV > > IT > > > > Administrative Services Group > > > > HealthMarkets... > Confidentiality Notice: This e-mail message may contain confidential > orproprietary 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® is the brand name for products underwritten > andissued by the insurance subsidiaries of HealthMarkets, Inc. -The > Chesapeake Life Insurance Company®, 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:IBM-MAIN@bama... > ---------------------------------------------------------------------- For IBM-MAIN subscribe / sig... ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

