ENABLE Reference Manual

ENABLE COMMANDS
ADD Command
ADD Command
The ADD command names an object and enters its description in the
object table. Optionally, the ADD command also supplies override
values for the attributes that describe an object. The syntax of
the ADD command is:
-----------------------------------------------------------------
| |
| ADD [ APPL ] <object> [ , LIKE <prior-object> ] |
| [ BOX ] |
| |
| [ , <attribute> <value> ] ... |
| |
| |
| APPL |
| |
| is a keyword that identifies application as the type of |
| object being added. If APPL is the default object type, |
| you can omit this keyword. |
| |
| BOX |
| |
| is a keyword that identifies box as the type of object |
| being added. If BOX is the default object type, you can |
| omit this keyword. |
| |
| <object> |
| |
| is the name of an object to be added. This name must |
| conform to the following naming conventions: |
| |
| 1. The name can have from 1 to 30 letters, digits, and |
| hyphen characters. It must begin with a letter and |
| must not end with a hyphen. |
| |
| 2. The name must not be an ENABLE, SCREEN COBOL, or |
| PATHWAY reserved word (listed in Appendix C). |
| |
| 3. The name must not begin with the 6-character ENABLE |
| prefix "T9155-." |
| |
| 4. The name must be unique. Duplicate object names are |
| not allowed. |
| |
| |
| |
| |
| ---> |
-----------------------------------------------------------------
3-6