6 7 2 Function Identifier

LANSA Technical

6.7.2 Function Identifier

Mandatory.

Specify the identifier that is to be assigned to the new function.

Rules

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.

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 Developer Guide

Creating Functions in the User Guide

6.7.1 Function Name

Ý 6.7 Function Definition