Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Simplifying complex tasks z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
If you need to perform an involved task, you can include logic in your edit macro. For instance, the ISRTDATA macro shown in Figure 1 creates variations of the same line by first finding the succeeding test string number, and then changing each occurrence, using ascending numbers one through nine. Figure 1. ISRTDATA macro
To run the test macro, type isrtdata on the command line (Figure 2). The macro numbers the first nine lines of data (Figure 3). Figure 2. ISRTDATA macro - before
running
Figure 3. ISRTDATA macro - after running
|
Copyright IBM Corporation 1990, 2014
|