Macros Under the REXX/CICS Editor

The editor supports REXX macros, giving the macros the ability to alter the editor settings and display the editor screens. Macros can process all of the editor command line commands. Example:

/* Macro to alter the setting of the REXX/CICS editor */
ADDRESS EDITSVR
'SET NUMBERS OFF'
'SET CURLINE 10'
'SET MSGLINE 2'
'SET CMDLINE TOP'
'SET CASE MIXED IGNORE'

This example addresses the editor command environment and alters the editor settings.

Example:
/* Macro to use the REXX/CICS editor as an I/O interface */
ADDRESS EDITSVR
'INPUT Some'
'INPUT More'
'INPUT DATA'
'DISPLAY'

This example enters the text Some, More, and DATA on three separate lines and then displays the current edit screen.