Fill these in once
- Create a sequential dataset
//NEWDS EXEC PGM=IEFBR14 //DD1 DD DSN=MYUSER.NEW.DATA,DISP=(NEW,CATLG,DELETE), // SPACE=(TRK,(5,5)),UNIT=SYSDA, // RECFM=FB,LRECL=80For a PDS, use SPACE=(TRK,(5,5,10)): the third number is directory blocks.
- Delete a dataset (no error if it's already gone)
//DELDS EXEC PGM=IEFBR14 //DD1 DD DSN=MYUSER.NEW.DATA,DISP=(MOD,DELETE,DELETE), // SPACE=(TRK,0),UNIT=SYSDA