z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


SEEK_COUNTS—Query Seek Counts

z/OS ISPF Edit and Edit Macros
SC19-3621-00

The SEEK_COUNTS assignment statement retrieves the values set by the most recently entered SEEK command and places them in variables.

Syntax

Read syntax diagramSkip visual syntax diagram
Assignment statement syntax

>>-ISREDIT--(var1,var2)-- = --SEEK_COUNTS----------------------><

var1
The name of a variable to contain the number of strings found. It must be an 8-character value that is left-padded with zeros.
var2
The name of a variable to contain the number of lines on which strings were found. It must be an 8-character value that is left-padded with zeros.

Return codes

0
Normal completion
20
Severe error

Examples

To seek all lines with a blank in column 1 and store the number of such lines in variable &BLNKS:
ISREDIT SEEK ALL " " 1
ISREDIT (BLNKS) = SEEK_COUNTS

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014