Hi Folks,
Iam deleting members from the dataset.
I could delete using the following jcl
/RENDEL JOB (PS),'PS-RENAMEDEL',CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE MBOLT.MTEMPX.M7AWXX.DATA04(ERRESHP)
DELETE MBOLT.MTEMPX.M7AWXX.DATA04(ERRITRC)
DELETE MBOLT.MTEMPX.M7AWXX.DATA04(ERRIDX)
DELETE MBOLT.MTEMPX.M7AWXX.DATA04(ELSPUV)
//*
But here, i need to specify each member to be deleted. (which works fine). There are more than 50members. So do i need to specify 50 times of those members to be deleted? Is there any other option.
I tried the following
DELETE MBOLT.MTEMPX.M7AWXX.DATA04(*)
but it does not empty the contents of the dataset. It results in error.
Thanks