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


Passing values

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

Some information can best be passed back and forth between the editor and the macro in pairs. These examples show assignment statements that pass two values:
CLIST Statements REXX Statements
 
ISREDIT (LB,RB) = BOUNDS
ISREDIT BOUNDS = (LB,RB)
ADDRESS ISPEXEC
'ISREDIT (LB,RB) = BOUNDS'
'ISREDIT BOUNDS = (LB,RB)'
In the first statement, the current left and right boundaries are stored into the variables LB (LEFTBND) and RB (RIGHTBND). In the second statement, the values from the variables LB and RB are used to change the current boundaries.

For more information on which edit macro commands take one variable and which take two, see Edit macro commands and assignment statements.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014