Professional Documents
Culture Documents
4
Generating, Compiling, and Executing
Job list
creation
Source You must generate and compile the source for your
Generation and access paths and functions before you can test your
Compilation of application programs. The first step is to indicate which
Access Paths access paths and functions you want generated and
and Functions compiled. The Display Services Menu includes options
to facilitate this process.
Press Enter.
Selecting All The Display All Access Paths panel presents a list of all
Access Paths access paths in the design model. It lets you perform
for Batch many design, control, and generation tasks for one or
Generation and more access paths from one panel.
Compilation
Press Enter.
Completing the When the process is complete, the Display All Access
Request Paths panel will be redisplayed with messages
displayed at the bottom of the panel. The messages will
state that the source generation requests have been
accepted.
Display all In this step you will repeat this process for the functions
Functions for in your design model. The Display Services Menu
Selection includes an option to display a list of the functions in
the design model.
Press Enter.
Selecting All The Display All Functions panel displays a list of all
External functions in the design model. It lets you perform many
Functions for design, control, and generation tasks for one or more
Batch functions from one display.
Generation and
Compilation Only external functions need to be generated and
compiled. External functions can be identified by the
source member name found in the GEN name column;
internal functions show ∗ N/A in this column. Start by
displaying just the external functions in your design
model.
Press Enter.
Submit Batch In this step you will use the Display Services Menu to
Generation and Submit generations and compilations of all the access
Creation paths and external functions you have selected.
Confirming the The panel will be redisplayed with the option to confirm
Job List at the bottom right-hand corner. Accept the default of Y
as shown.
Press Enter.
Examining the Once submitted, each item in the list is initially shown
Job List with a status of *SBM. As each item in the list is
processed, the status in the list is updated as follows.
Press Enter.
Confirming Once the values allowed for the status fields in your
Conversion of model have been converted to the database file, you
Condition Values will be returned to the Display Convert Model Data
Menu. A message appears at the bottom of the panel
to indicate that the conversion is complete.
Exiting the When all the objects have been created, your program
COOL:2E Design for editing the HORSE file is complete.
Model
Press F3 to exit your design model.
3. Return to editing
Press Enter.
The Edit Horse An empty panel will be displayed. The Edit File function
Function Panel operates in two alternate modes, one to add new
records (New mode) and one to change existing
records (Open mode). Use the F9 function key to
toggle between the two modes.
Press Enter.
Confirming Data You will be prompted with a Confirm prompt before the
Entries for the update is completed. As you saw in the function option
Horse File topic of this tutorial, the confirm prompt is an optional
feature of a function. You could omit it from the design
if desired.
Press Enter.