Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
LOCATE—Locate a Line z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The LOCATE macro command scrolls up or down to a specified line. The line is then displayed as the first line on the panel. There are two forms of LOCATE, specific and generic. The specific form of LOCATE positions a particular line at the top of the panel. You must specify either a line number or a label. The generic LOCATE command positions the panel to the first, last, next, or previous occurrence of a particular kind of line. SyntaxSpecific LOCATE macro command syntax >>-ISREDIT--LOCATE--+-label---+-------------------------------->< '-linenum-'
Generic LOCATE macro command syntax .-NEXT--. >>-ISREDIT--LOCATE--+-------+--+-CHANGE---+---------------------> +-FIRST-+ +-COMMAND--+ +-LAST--+ +-ERROR----+ '-PREV--' +-EXCLUDED-+ +-LABEL----+ +-SPECIAL--+ +-INFOLINE-+ +-MSGLINE--+ '-NOTELINE-' .-.ZFIRST--.ZLAST-. >--+-----------------+----------------------------------------->< '-labela--labelb--'
Return codes
ExamplesTo locate the next occurrence
of a line with a label:
To
locate the first occurrence of a special (non-data) line:
To
locate the last excluded line:
To
locate the previous line that contains an unprocessed line command:
To locate the
first message line:
|
Copyright IBM Corporation 1990, 2014
|