Task 3 - Generating the Process
Like data screens and record layouts, processes and functions also
require generation. Generating the process checks for the existence of
the data names, records, and files you have named, and resolves pointers
to these items.
To generate the process:
1. Press the Generate Process function key to generate the
product_proc process.
If you entered the process correctly, you won't receive any error
messages.
If you have made an error, you will receive a message listing the
step number and character position value that was found to be in
error, and a brief description of the error. The error message is
displayed for about 20 seconds. HP ALLBASE/4GL then returns you
to the details screen.
2. You can press the Stop key to freeze the display.
The step number column refers to the step number in the logic
block, the character position value column refers to the ruler
line at the top of the display region of the logic block screen.
By using the ruler line at the top of the screen, you can
determine the horizontal location of the incorrect value.
3. Once you have determined the cause of the error, you can change
the step by entering its step number and accepting the C action
that is displayed by default.
This displays the command line at that step in the appropriate
window, and you can correct the error. (If the error is in the
Command field, press Shift + Tab to move to this field from the
window.) Once you have corrected the entry, press the Commit
Data function key, and generate the logic block again.
When the process has been successfully generated, you can continue
on to develop a function for this application.