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


EXCLUDE command example

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

When you enter an EXCLUDE command like ex /* all on the command line (Figure Figure 1), the editor excludes all lines with that string starting at the top of the data (Figure Figure 2).

Figure 1. Before EXCLUDE command
   File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help
 ───────────────────────────────────────────────────────────────────────────────
 EDIT       SBURNF.PRIVATE.EXEC(FCEXMP) - 01.00           CHARS 'MIMIC' changed
 Command ===> ex /* all                                        Scroll ===> CSR 
 ****** ***************************** Top of Data ******************************
 000001 /* REXX */
 000002 /* REXX */
 000003 ADDRESS TSO
 000004 /*                                                                   */
 000005 /* RECREATE THE OLD BACKUP DATA SETS                                 */
 000006 /*                                                                   */
 ==CHG> CALL WILLY "ALLOC DA('PDFTDEV.SVT2.ARCHDEF')"
 ==CHG> CALL WILLY "ALLOC DA('PDFTDEV.SVT2.CLIST')"
 ⋮
Figure 2. After EXCLUDE command
   File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help
 ───────────────────────────────────────────────────────────────────────────────
 EDIT       SBURNF.PRIVATE.EXEC(FCEXMP) - 01.00                     5 chars '/*/
 Command ===>                                                  Scroll ===> CSR 
 ****** ***************************** Top of Data ******************************
 - - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  2 Line(s) not Displayed
 000003 ADDRESS TSO
 - - -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  3 Line(s) not Displayed
 ==CHG> CALL WILLY "ALLOC DA('PDFTDEV.SVT2.ARCHDEF')"
 ==CHG> CALL WILLY "ALLOC DA('PDFTDEV.SVT2.CLIST')"
 ⋮

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014