You are here: LANSA for i User Guide > 4. Processes and Functions > 4.18 Function Control Table > 4.18.2 What Do the Reserved Functions Do?

4.18.2 What Do the Reserved Functions Do?

The list of function names that are "reserved" and cannot be used as the name of a user defined function has already been described as being the names:

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

RETRN

Return control to calling process or function

ERROR

Abort process with an error

*ANY

Any function name

 

While it is not possible to use any of these names as a user created function name it is possible to use any of these names in the process control table.

It is easiest to think of these "reserved" functions as "real" functions that are pre-defined and exist in every process that is created. They can be used in exactly the same way as any user defined function.

The effect of using these "reserved" functions is as follows: