Operands, Return codes, Example – IBM SC34-5764-01 User Manual

Page 257: Backward, Note, Bottom, Backward bottom

Advertising
background image

Notes:

1

If arguments is not specified, any previously defined arguments are deleted.

ARGS stores the default parameters to be passed to the program being edited when invoked with the text
editor EXEC command.

Operands

arguments

specifies the parameter string to be passed. If you do not specify arguments, any previously defined
arguments are deleted.

Return Codes

0

Normal return

Example

'ARGS A B C'
'EXEC'
'ARGS'

The first line of this example defines the arguments to be passed as A, B, and C. The second line executes
the last saved copy of the file that is currently being edited, passing it the arguments defined in line one.
The last line deletes the arguments.

BACKWARD

BAckward

1

n

*

BACKWARD scrolls backward toward the beginning of a file for a specified number of screen displays.

Operands

n

specifies the number of screen displays you want to scroll backward. If you specify an asterisk (*), the
screen scrolls to the top of the file and the current line is set to the top of the file. If n is not specified,
the screen scrolls back one display.

Return Codes

0

Normal return

202

Invalid operand

Example

'BACKWARD'

This example scrolls one screen toward the top of the file.

Note

The editor, by default, sets PF7 to BACKWARD and PF8 to FORWARD.

BOTTOM

BOTTOM

BOTTOM scrolls to the bottom of the file.

Text Editor

Chapter 18. REXX/CICS Text Editor

235

Advertising