6.2.5 Allowable Next Function(s)
Mandatory. Default=*ANY
Specify up to 20 functions that are allowed to be invoked after this function has been completed.
Rules
Allowable values include all functions in the process as well as the following reserved words:
Name | Reserved meaning / description |
*ANY |
Any function name |
MENU |
Display process main menu |
EXIT |
Exit from LANSA |
HELP |
Display process HELP text |
SELECT |
Select next function from list of allowable function |
EOJ |
End all batch processing |
ERROR |
Abort process with an error |
RETRN |
Return control to calling process or function |
Tips & Techniques
- The use of special value *ANY is recommended if any function can be invoked rather than listing all function names.
- If *ANY is used, it should be the only entry in the list.
- If *ANY is not used, ensure that the Next Function is included into the list.
- Lists that do not include "reserved" names EXIT and MENU are effectively disabling the use of the EXIT and MENU function keys. The EXIT and MENU function keys are processed by simulating the entry of "next functions" of EXIT and MENU respectively.
Also See
Function Control Table Concepts in the .