Mark, I'm curious - if the PDS is allocated with DISP=SHR, will IDCAMS use ISPF compatible ENQs to serialize the member when deleting?
Kirk Wolf Dovetailed Technologies http://dovetail.com On Wed, Oct 2, 2013 at 10:48 AM, Mark Zelden <[email protected]> wrote: > On Wed, 2 Oct 2013 18:14:15 +0300, Binyamin Dissen < > [email protected]> wrote: > > >I am aware of the ISPF LM functions. > > > >I wonder if there is a native MVS or TSO command to easily do this. > > > >There is delete pds(member), but that requires exclusive access. > > > >There is IEHPROGM, but I would as soon just avoid it. > > > >-- > > If you allocate the PDS as SHR, you can delete it with IDCAMS. The > same is true with TSO DELETE if you ALLOC the PDS as SHR to a DD first > since it uses IDCAMS under the covers. > > > > //JS010 EXEC PGM=IDCAMS > //DD1 DD DSN=MZELDEN.PDS,DISP=SHR > //SYSPRINT DD SYSOUT=* > //SYSUDUMP DD SYSOUT=* > //SYSIN DD * > DELETE MZELDEN.PDS(MEMBER) FILE(DD1) > /* > > > Regards, > > Mark > -- > Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS > mailto:[email protected] > ITIL v3 Foundation Certified > Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html > Systems Programming expert at http://search390.techtarget.com/ateExperts/ > ---------------------------------------------------------------------- > 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
