4.15.1 What are RDML Commands?

As already described in this chapter, every function within LANSA has associated with it a set of commands.

The commands instruct the IBM i to what actions the user wishes to take when executing the function.

The commands are referred to as Rapid Development & Maintenance Language or "RDML" commands.

When a function is compiled into an executable program the commands are converted in RPG instructions which are then compiled into a program that can be executed on the IBM i.

Every command has 3 major components:

Whenever RDML commands are displayed they usually have the format described above. For instance a simple "function" (or "program") of RDML commands might look like this:



Additional Parameters











What this RDML program does is:

The first question that springs to mind when looking at this RDML program is "How does it ever end?".

To answer that you must always remember that parameters that are not specified adopt their default values.

The REQUEST command has parameters EXIT_KEY and MENU_KEY which have default values EXIT_KEY(*YES *EXIT) and MENU_KEY(*YES *MENU).

This tells LANSA that the EXIT and MENU (or Cancel) function keys are to be enabled at the workstation. If the EXIT function key is used: exit from LANSA, if the MENU (or Cancel) function key is used: transfer back to the process's main menu.

This has been a very brief description of what RDML commands are and what RDML programs look like, the rest of this section describes topics like:

For a complete list of RDML commands refer to the Technical Reference Guide.

In the Technical Reference Guide you will find details of each RDML command and RDML programming techniques and examples.