Using IDCAMS, you can delete multiple datasets with same HLQs at the sametime. Please find below the code.
//STEP01 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSIN DD * DELETE HLQ1.HLQ2.** MASK
If you would like to Earn Free Stocks, Credit card Points and Bank account Bonuses, Please visit My Finance Blog
You may also like to look at: