Previous Topic: The Modify VerbNext Topic: Batch Execution JCL


The Delete Verb

The DELETE verb in the PUNCH mode builds a DELETE command for each CCDB object that meets the selection criteria. CA Endevor/DB will punch the identifying clauses for every command. The identifying clauses are comprised of the information necessary to identify the CCDB object. For example, an entity is identified by its name, type, and version.

For example, if you entered the following command:

       SET OPTIONS PUNCH.

       DEL ENTITY NAME JSB*.

CA Endevor/DB Batch would punch the following commands for all the entities that met the selection criteria, in this case being the NAME clause:

DEL ENTITY NAME IS JSBTEST1
           TYPE IS ELEMENT
        VERSION IS 1
                   .
DEL ENTITY NAME IS JSBTEST2
           TYPE IS RECORD
        VERSION IS 1
                   .
DEL ENTITY NAME IS JSBTEST2
           TYPE IS ELEMENT
        VERSION IS 2
                   .

In the example above, CA Endevor/DB punched DELETE syntax for each entity in the CCDB whose name began with JSB.