[◀ JCL Batch Jobs]
- Defining a non-VSAM dataset
- Deleting a non-VSAM catalog entry
- Deleting a non-VSAM
- Deleting members from PDS
//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE NONVSAM( -
NAME(dataset.name) -
VOLUMES(volser) -
DEVICETYPES(3390) -
RECATALOG -
) -
CATALOG(ucat.name)
/*
//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE dataset.name NOSCRATCH
/*
//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE dataset.name
/*
//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE 'dataset.name(memberA)'
DELETE 'dataset.name(memberB)'
...
DELETE 'dataset.name(memberX)'
/*