User code areas are reserved spaces in a rule that was generated by EasyRule. Users are free to use ISPF edit to add or change REXX code in a user code area, but code outside these areas should only be changed by using EasyRule. The EasyRule Options screen allows you to choose whether to generate user code areas by default, as illustrated in the following example:
EasyRule Options -------------------------------------------------------------- Command ===> Options Enter "S" to select option S Include user code areas Enter CANCEL to abort. Enter END to confirm settings.
The Save panel provides three user code area controls, including Initialize, Terminate, and Mainline, which select whether their respective areas will be generated. Users are free to set these three controls manually, or to allow all three to default to the Screen 0.5 value.
EasyRule uses the profile setting each time you edit a new or existing rule. You can override the default, but each time you edit a rule, the default setting will again be applied, even if you have previously overridden it for the same rule.
Following is an illustration of the EasyRule Save screen. The profile setting affects the default answers for the Do you intend … lines.
EasyRule --------------- XAE1 --- O P S V I E W --------------- Subsystem OPSQ Option ===> EEEEE AAAA SSSSS YY YY RRRRR UU UU LL EEEEE EE AA AA SS YYYY RR R UU UU LL EE EEEE AAAAAA SSSSS YY RRRRR UU UU LL EEEE EE AA AA SS YY RR RR UU UU LL EE EEEEE AA AA SSSSS YY RR RR UUUU LLLLL EEEEE 1 SAVE - SAVE the Rule that was built and EXIT 2 CANCEL - EXIT and DO NOT SAVE the Rule that was built 3 BROWSE - Browse the generated OPS/REXX code 4 ALTER - Return to the panels to modify the Rule DO YOU WANT TO BE ABLE TO MODIFY THIS RULE WITH EASYRULE? ==> Y (Y/N) DO YOU INTEND TO INSERT USER PROCESSING CODE IN THIS RULE? ==> Y (Y/N) DO YOU INTEND TO INSERT USER INITIALIZATION CODE IN THIS RULE? ==> Y (Y/N) DO YOU INTEND TO INSERT USER TERMINATION CODE IN THIS RULE? ==> Y (Y/N) Press END to SAVE and Return
|
Copyright © 2014 CA.
All rights reserved.
|
|