ENABLE Reference Manual
ENABLE COMMANDS
GENERATE Command
• If the application uses a box or boxes that you have
previously added to the object table, ENABLE ignores values
for box attributes supplied with a GENERATE command.
If you use the following form of the GENERATE command:
GENERATE APPL *
without previously adding any applications, ENABLE ignores the
command.
If you enter a GENERATE command and <application-name> is not a
current object-table entry, ENABLE:
• Performs an ADD APPL using the values in the attribute table,
and any override values you supply with the GENERATE command
• Performs an ADD BOX if ENABLE has supplied a default value for
the TREE attribute and the box identified by this default
value is not listed in the object table (If the box appears in
the object table, ENABLE uses the existing box.)
• Generates the application
• Performs a DELETE APPL to delete the application it just
added
• Performs a DELETE BOX if it added a box for the application
(ENABLE will not delete a box that you have entered.)
Examples
SET RECORD employee
ADD BOX employee-box
SET APPL TREE (01 employee-box)
SET APPL PATHCOMFILE enabfile
GENERATE APPL employee-prog <- These commands add an
application named
"employee-prog," cause the
application to be generated,
and delete the application
from the object table.
The following GENERATE command supplies values for the RECORD and
PATHCOMFILE attributes and generates a single-file application
named new-parts:
GENERATE APPL new-parts, RECORD parts, PATHCOMFILE partpath
3-17