6.7.2 Function Identifier
Mandatory.
Specify the identifier that is to be assigned to the new function.
Rules
- Must be a valid LANSA object name.
Platform Considerations
- IBM i: A function identifier must be unique within the process it is created. It is possible to have two functions with the same identifier in a single partition if they are located in different processes.
- Windows: Function identifier must be unique in the partition. All functions must be defined as type *DIRECT.
- Please refer to function details described in LANSA object name
Warnings
Certain function identifiers are "reserved" for use by LANSA and cannot be specified as a valid function identifier. These are:
Name | Reserved Meaning / Description |
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 |
*ANY |
Any function identifier |
For more details of why these names are "reserved" refer to the Function Control Table section.
Also See
What is a Function in the
Creating Functions in the