RDML Commands
Refer to the Visual LANSA Developer Guide for:
The following commands make up the complete LANSA RDML programming language.
The hyperlink from the command column will take you to the Command's description and syntax diagram.
The in the example column will take you straight to the Command's example.
* indicates that there may be portability conflicts. Check the command for details.
Command |
Description |
Example |
* |
Abort function with error message |
|
||
Add new entry to a list |
|
||
Begin a processing group |
|
||
Begin validation check block |
|
||
Browse and select records from a file |
* |
||
Call a program or process/function |
* | ||
Validate data by calling a program |
* | ||
Begin a case condition |
|
||
Change content of field(s) |
* | ||
Check for record in a file |
* | ||
Close file(s) |
|
||
Clear a list |
|
||
Commit database changes |
* | ||
Validate data by checking a condition |
|
||
Continue next iteration of loop |
|
||
Validate data as a valid date or in date range |
|
||
Define an array |
|
||
Define report break line(s) |
* | ||
Define a condition |
|
||
Define report foot line(s) |
* | ||
Define report heading line(s) |
* | ||
Define report detail line(s) |
* | ||
Define a browse or working list |
* | ||
Define report attributes |
|
||
Define a field in this function |
|
||
Delete record(s) from a file |
* | ||
Display information on a workstation |
* | ||
Delete an entry from a working list |
|
||
Delete a list |
|
||
Do until a condition is true. |
|
||
Do while a condition is true. |
|
||
Else, if an IF condition is not true |
|
||
End a processing loop |
|
||
End a case condition |
|
||
End a validation check block |
|
||
End an IF condition |
|
||
End all printing |
* | ||
End a subroutine |
* | ||
End a select loop |
|
||
End a DOUNTIL loop |
|
||
End a DOWHILE loop |
|
||
Exchange information with another function |
|
||
Execute a CPF command |
Discontinued |
* | |
Execute an IBM i operating system |
* | ||
Execute a subroutine |
|
||
Exit from LANSA |
|
||
Fetch a record from a file |
* | ||
Validate data by checking against a file |
* | ||
Define function control options |
* | ||
Get entry from a list |
|
||
Pass control to another command |
|
||
Group fields under a common name |
|
||
If a condition is true |
|
||
If a validation error was detected |
|
||
If a key was used at workstation |
* | ||
If screen display mode is |
* | ||
If field(s) are null |
|
||
If I/O status flag is |
|
||
Include RDML from another function |
* | ||
Insert a new record into a file |
* | ||
Initialize a list |
|
||
Keep average of fields |
|
||
Keep count of fields |
|
||
Keep maximum of fields |
|
||
Keep minimum of fields |
|
||
Keep total of fields |
|
||
Leave current loop |
|
||
Locate an entry in a list |
|
||
Transfer to process main menu |
* | ||
Issue a message |
* | ||
On a validation error being detected |
|
||
Open file(s) |
* | ||
If no WHEN commands are satisfied |
|
||
Override field's dictionary attributes |
|
||
Point file to another file/library/member |
* | ||
Present a pop up window on a workstation |
* | ||
Print line(s) on a report |
|
||
Validate data by a range of values check |
|
||
Rename a field within a file |
* | ||
Request information from the workstation |
* | ||
Return from a subroutine |
|
||
Roll back database changes |
* | ||
Select records from a file |
* | ||
Select entries from a list |
|
||
Select records from a file using SQL |
* | ||
Set a validation error |
|
||
Set screen display mode |
* | ||
Skip to line "n" on a report |
|
||
Sort list into a nominated order |
* | ||
Space "n" lines on a report |
|
||
Submit a program or process to batch |
* | ||
Define a subroutine |
* | ||
Substring one field into another field |
|
||
Transfer control to another function |
* | ||
Update an entry in a list |
|
||
Update record(s) in a file |
* | ||
Print information (unformatted) |
* | ||
Use a Built In Function |
|
||
Validate data by a list of values check |
|
||
When condition is true (within CASE) |
|