"Paul Gilmartin" <[email protected]> wrote in message news:<[email protected]>... > On Aug 13, 2012, at 06:26, Kerneels wrote: > > > Only works , if there is are no active job with an ENQUE on the dataset ex. Parmlib. > > > Silly question? How about DISP=SHR? If you can create a > data set without exclusive ENQ (it has happened to me), > why not extend one? > > > On 8/13/2012 4:21 AM, Binyamin Dissen wrote: > >> > >> Use JCL (IEBGENER is fine) - anything that OPENs it for OUTPUT) with DISP=MOD > >> and secondary space allocation with a new member name. The works with > >> sequential, probably with PDS as well. > > -- gil >
CLOSE will write *its* DCB info to the DSCB. You can probably open/close the dataset with disp=shr, writing your DCB info with secondary allocation, but the other task that has is opened will probably write *its* DCB info at its close, nullifying your modification. Ensuring you are the one and only is only possible with DISP=OLD. Kees. ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ******************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
