The ADD verb in PUNCH mode uses information from the CCDB to produce command clause values. If you do not enter selection criteria in the commands, the ADD verb will punch all the information located in the CCDB for that command. For example, if you enter the command:
SET OPTIONS PUNCH.
ADD ENTITY.
CA Endevor/DB would punch the syntax for every entity in the CCDB. The punched syntax would include the NAME, TYPE, VERSION, COMMENT, and STATUS clauses for each entity in the CCDB. If you were to include selection criteria in the command, such as the following:
SET OPTIONS PUNCH.
ADD ENTITY TYPE IS DIALOG.
CA Endevor/DB would punch the syntax for only those entities whose type is dialog. The punched syntax would again include the NAME, TYPE, VERSION, COMMENT, and STATUS clauses for each entity. Applicable selection criteria is explained in the description for each command.
If you specify an "attribute" clause (i.e., a clause that describes the CCDB object rather than identifies it), the clause you specify in your original command will appear in place of any CCDB data in every punched command. For example, if you enter the following command:
SET OPTIONS PUNCH.
ADD ENTITY TYPE IS RECORD STATUS IS NEVERMIGRATE.
CA Endevor/DB will punch the following syntax:
ADD ENTITY NAME IS COL-COLLIER
TYPE IS RECORD
VERSION IS 00001
COMMENT IS
"PEA PORR HT"
STATUS IS NEVERMIGRATE
.
ADD ENTITY NAME IS FL-GRAFIX
TYPE IS RECORD
VERSION IS 00002
COMMENT IS
"WKS IN BOSTON"
STATUS IS NEVERMIGRATE
.
CA Endevor/DB punched ADD ENTITY commands for all entities that were of type RECORD. Each punched command included the STATUS clause as entered in the original command.
|
Copyright © 2013 CA.
All rights reserved.
|
|