Edit assignment statements

You use edit assignment statements to communicate between macros and the editor. An assignment statement consists of two parts, values and keyphrases, which are separated by an equal sign. The value segment represents data that is in the macro, and the keyphrase segment represents data in the editor. You can use assignment statements to pass data from the edit macro to the editor, or to transfer data from the editor to the edit macro.

Data is always transferred from the right side of the equal sign in an assignment statement to the left side. Therefore, if the keyphrase is on the right, data known to the editor is put into CLIST or REXX variables on the left. In this situation, the yyy would be a keyphrase, and the xxx would be the value.


Table 1. Edit assignment statements
CLIST Statement REXX Statements
 
ISREDIT  xxx = yyy
ADDRESS ISPEXEC
'ISREDIT xxx = yyy'