4.2.3 What is a Function?

In LANSA, a function is a group of RDML commands. It is a set of RDML commands which are compiled into an executable program. For example, an interactive or online function might add or change data in the Employee file. The function uses a character-based presentation. A batch function might produce an employee report or update available employee records. Functions are procedural in nature.

Following are some important characteristics of functions:

Just as in any computer program, modular or well structured code is important for maintenance.  The developer is responsible for how functions are constructed. (Refer to 4.1.3 RDML Practices.)

Platform Considerations

Also See

4.2.5 How to Create Functions