This is age old issue. I think the summary is that in order to to maintain data integrity of the PDS don't try updating any PDS that is allocated by someone else.
If it works great otherwise don't come crying to IBM (or anyone else).
Dataset integrity is only as good as you treat the dataset like any thing else .

Ed

On Jun 6, 2012, at 12:33 PM, Sri h Kolusu wrote:

Q).  What is the best way to delete a PDS member while the
started task has it allocated DISP=SHR?


You can try using IDCAMS delete function with FILE Parameter

//DELPMEM  EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//DDN      DD DSN=YOUR PDS,
//            DISP=SHR
//SYSIN
  DELETE 'YOUR.PDS(membername)' FILE(DDN)
//*

----------------------------------------------------------------------
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

Reply via email to