Delete all members of a Partitioned (Non-VSAM) Data Set in a Catalog: Example 13-B
In this example, all members of partitioned data set EXAMPLE.NONVSAM2
are deleted:
//DELET10 JOB ...
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
DELETE -
EXAMPLE.NONVSAM2(*)
/*
The DELETE command deletes all members of a partitioned
data set, EXAMPLE.NONVSAM2. Its parameters are: - EXAMPLE.NONVSAM2(*) is the entryname that includes members of the partitioned data set, EXAMPLE.NONVSAM2. The entryname identifies the object to be deleted.