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


FLIP—Reverse Exclude Status of Lines

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

The FLIP macro command lets you reverse the exclude status of a specified range of lines or of all the lines in a file, including data, information, message, and note lines.

Syntax

Read syntax diagramSkip visual syntax diagram
Assignment statement syntax

>>-ISREDIT--FLIP--+-------------+------------------------------><
                  '-label-range-'   

labela, labelb
Labels identifying the start and end of the group of lines within which the FLIP command is to reverse the exclude status. If one label is specified, only that labeled line is reversed.

For more information about using labels to identify a group of lines, see Labels and line ranges.

Return codes

0
Successful completion. The excluded status of the requested lines was reversed.
20
Severe error

Examples

These are examples of statements using the FLIP commands from an Edit macro. The actual values for .a and .b can be defined by edit macro or by the user:
ISREDIT FLIP          /* Flip all lines                              */
ISREDIT FLIP .ZL .ZF  /* Flip all lines                              */
ISREDIT FLIP .ZF      /* Flip first line in file                     */
ISREDIT FLIP .a .b    /* Flip lines between and including .a and .b  */
ISREDIT FLIP .a       /* Flip line labeled .a                        */

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014