Example, Left, Operands – IBM SC34-5764-01 User Manual
Page 267: Return codes, Lineadd, Note, Lprefix, Lineadd lprefix
![background image](/manuals/126838/267/background.png)
210
Request failed
Example
'JOIN'
This example joins the line that the cursor is on with the line immediately following it.
LEFT
LEFT
1
number
LEFT scrolls left in the file.
Operands
number
specifies the number of characters to scroll. If you do not specify number, the screen scrolls left one
character in the file. If you specify 0 for number, the file scrolls to the far left side.
Return Codes
0
Normal return
202
Invalid operand
210
Request failed
Example
'LEFT 20'
This example scrolls left 20 characters to the left.
LINEADD
LINEADD
LINEADD adds a blank line after the cursor line.
Return Codes
0
Normal return
230
Cursor is not in file area
Example
'PFKEY 2 LINEADD'
This example causes the addition of a blank line after the line where the cursor resides (if it is a file line)
whenever PF2 is pressed.
Note
LINEADD is mainly useful when assigned to a program function (PF) key. It is by default assigned to PF2.
LPREFIX
LPREFIX
prefix
LPREFIX enters a prefix command into the current line prefix area.
Text Editor
Chapter 18. REXX/CICS Text Editor
245