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


Using edit macros in batch

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

You can run edit macros in batch by submitting JCL which allocates all of the necessary ISPF libraries (refer to z/OS ISPF Dialog Developer's Guide and Reference), and runs a command which calls the EDIT service with an initial macro. This initial macro can do anything that can be done by an initial macro in an interactive session. However, in batch, the macro should end with an ISREDIT END or ISREDIT CANCEL statement. These statements ensure that no attempt is made to display the edit screen in batch.

A simple initial macro to change strings in batch might look like this:
ISREDIT MACRO
ISREDIT CHANGE JANUARY FEBRUARY ALL
ISREDIT END

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014