You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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 valid function identifiers. 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 6.2 Function Control Table.

Also See

What is a Function in the Developer's Guide

Create Functions in the User Guide

6.7.1 Function Name

  • No labels