TSO-ISPF JCL COBOL VSAM DB2 CICS Tools Articles Job Portal Forum Quiz Interview Q&A

CHANGE_COUNTS ISPF/PDF Edit Macro Command


The CHANGE_COUNTS assignment statements can query the change counts set by the last change command and store the values in variables.

ISREDIT (var1,var2) = CHANGE_COUNTS

The 'var1' and 'var2' parameters are names of variables that will receive the 8- character number of the strings, left-padded with zeros, that were changed and that could not be changed, respectively.


Example:

The following are examples of the CHANGE_COUNTS assignment statement.

Example 1:

Obtain the number of changes into the variable.

&CHGS:
ISREDIT (CHGS) = CHANGE_COUNTS

Example 2:

Obtain the number of change errors into the.

variable &NOT:
ISREDIT (,NOT) = CHANGE_COUNTS

Example 3:

Obtain both the number of changes and change errors into the variables &CHGS and &NOT.

ISREDIT (CHGS,NOT) = CHANGE_COUNTS


If you have any doubts or queries related to this chapter, get them clarified from our Mainframe experts on ibmmainframer Community!

Are you looking for Job Change? Job Portal