CA PDSMAN

 View Only

Tech Tip for PDSMAN: Using the DELETE command in EXEC PGM=IKJEFT01 apparently only deletes a Partitioned DataSets (PDS) main member and leaves the ALIAS name still intact and present. How do I delete 

Mar 28, 2017 01:40 AM

Question:

Using the DELETE command in EXEC PGM=IKJEFT01 apparently only deletes a Partitioned Data Sets (PDS) main member and leaves the ALIAS name still intact and present. 

  1. Is there another command parameter for DELETE which will include the ALIAS members for deletion? 
  2. Or do I have to code also a separate DELETE command for the ALIAS member name? 

 

 

Answer:

The PDSM32 Utility has a DELETE command and optional ALIAS parameter. 

Delete a Member and its Aliases, 
In the following example, the member MYTEST and its aliases will be deleted, from the TEST.LOAD library. 

//S1 EXEC PGM=PDSM32 
//PDSMPDS DD DSN=TEST.LOAD,DISP=SHR 
//PDSMRPT DD SYSOUT=A 
//SYSIN DD * 
DELETE MYTEST ALIAS 
// 

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.