Deleting rule set elements
You can delete individual rule set elements (records) from the repository. To remove the records, use the DELETE command.
Other sections in this space describe using the DELETE command to remove other types of records (such as VSAM file and archive file records) from the repository.
Using the DELETE command
Use the DELETE command as shown in the following example:
The command verb is followed by a keyword that identifies the type of record to delete.
Using DELETE command keywords
You can use one of the following keywords on each DELETE command to delete the indicated type of record:
- INTERNAL_READER
- JOB_JCL
- JOB_SET
- JOURNAL_MODEL
- RULE_SET
- USER_VARIABLES
- VSAM_SET
- EXTERNAL_VENDOR
- OUTPUT_MODEL
- VSAM_GROUP_DEFINITION
- VSAM_NAME_MODEL
Using DELETE command keyword values
The value of each keyword specifies which record (or records) to delete, as identified by the user-defined name of the record (name32). You can use masking (wildcard) characters in the name to select multiple records for deletion, and you can include multiple names in the list.
Coding DELETE statements
To code a DELETE statement, use the following syntax:
DELETE JOB_JCL(name32, *, ... ) ;
DELETE JOB_SET(name32, *, ... ) ;
DELETE JOURNAL_MODEL(name32, *, ... ) ;
DELETE RULE_SET(name32, *, ... ) ;
DELETE USER_VARIABLES(name32, *, ... ) ;
DELETE VSAM_SET(name32, *, ... ) ;
DELETE EXTERNAL_VENDOR(name32, *, ... ) ;
DELETE OUTPUT_MODEL(name32, * , ... );
DELETE VSAM_GROUP_DEFINITION(name32, * , ... );
DELETE VSAM_GROUP(name32, * , ... );
DELETE VSAM_NAME_MODEL(name32, * , ... );
Related topic