4.15.4 Line Edit Actions When Using the LANSA Program Editor
When editing an RDML program via the LANSA program editor various line editing actions can be used (which are compatible with those that can be used with the IBM SEU program editors).
Line editing commands are input in the column labeled "Act" (action) beside the command(s) that are to be changed, moved, edited, etc.
The editing actions available in the current version of LANSA are:
Value Entered In "Act" Field |
Enter In Pairs |
Editing Action That Results / Description |
I |
No |
Insert 1 line after this line |
In |
No |
Insert n lines after this line |
IB |
No |
Insert 1 line before this line |
IA |
No |
Insert 1 line after this line |
C |
No |
Copy this line. |
CC |
Yes |
Indicate start or end of a block of lines that are to be copied. |
M |
No |
Move this line. |
MM |
Yes |
Indicate start or end of a block of lines that are to be moved. |
D |
No |
Delete this line. |
DD |
Yes |
Indicate start or end of a block of lines that are to be deleted. |
A |
No |
Target for copy or move is after this line. |
B |
No |
Target for copy or move is before this line. |
An |
No |
Target for copy or move but with multiple copies inserted after this line. |
Bn |
No |
Target for copy or move but with multiple copies inserted before this line. |
P/PP |
No |
Formatted prompt of the command. |
U/UP |
No |
Unformatted prompt of the command. |
F/FL |
No |
Allow the FIELDS parameter of this command to be built or modified by choosing fields from the data dictionary or a file definition. |
T |
No |
Position this command line to the top of the edit display. |
ET |
No |
Invokes the Application Template Facility. Any value keyed into the command field is used to generically locate the required template. If only one is found it is directly invoked. If more than one is found, a list is displayed for selection of the one required. If none are found, a list of all templates is displayed for selection of the one required. RDML code generated by the template is inserted directly after the line containing the ET action. The inserted code is not checked for syntax since it should be valid code. |
EF |
No |
Invokes the Copy Function facility. This will allow you to copy an entire function or a part of a function. RDML code copied from another function is inserted directly after the line containing the EF function. The syntax of the inserted code is not checked because it is assumed only valid RDML will be copied. |