z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Delete all members of a Partitioned (Non-VSAM) Data Set in a Catalog: Example 13-D

z/OS DFSMS Access Method Services Commands
SC23-6846-01

Start of change
In this example, selected members of partitioned data set EXAMPLE.NONVSAM2 are deleted:
//DELET10 JOB ...
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
DELETE -
EXAMPLE.NONVSAM4(A%)
/*
The DELETE command deletes all members in partitioned data set EXAMPLE.NONVSAM4 matching A%. Its parameters are:
  • EXAMPLE.NONVSAM4(A%) is the entryname that includes members of the partitioned data set, EXAMPLE.NONVSAM4. The entryname identifies the object to be deleted. Members with names like A1, A2, A3, and AB will be deleted.
End of change

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014