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


FLOW_COUNTS—Query Flow Counts

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

The FLOW_COUNTS assignment statement retrieves values that were set by the most recently entered TFLOW command, and places these values in variables.

Syntax

Read syntax diagramSkip visual syntax diagram
Assignment statement syntax

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

var1
The name of a variable to contain the number of original lines that participated in the text flow operation. The number of original lines is an 8-digit value that is left-padded with zeros.
var2
The name of a variable to contain the number of lines that were generated by the text flow operation. The number of lines is an 8-digit value that is left-padded with zeros.

If the value in var1 is larger than the value in var2, the difference is the number of lines that were deleted from the current data because of the text flow operation. If the value in var1 is less than the value in var2, the difference is the number of lines that were added to the current data because of the text flow operation.

Return codes

0
Normal completion
20
Severe error

Examples

To retrieve the value of the rightmost column displayed, allow a margin of 8 for the text flow, and then take action if lines were added because of the text flow operation:
ISREDIT (,MAXCOL) = DISPLAY_COLS
ISREDIT TFLOW .ZCSR &EVAL(MAXCOL - 8)
ISREDIT (INLINE,OUTLIN) = FLOW_COUNTS
IF &OUTLIN > &INLINE THEN DO
  ...

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014