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 the ALIAS?.
search cancel

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 the ALIAS?.

book

Article ID: 13726

calendar_today

Updated On:

Products

PDSMAN

Issue/Introduction

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? 

Environment

Release: PDSMA100200-7.7-PDSMAN-PDS Library Management-ONE COMPONENT
Component:

Resolution

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