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


COLS—Identify Columns

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

The COLS line command displays a column identification line.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-+-COLS-+----------------------------------------------------><
   '-COL--'   

Description

To display the column identification (=COLS>) line:

  1. Type COLS in the line command field of any line.
  2. Press Enter.

    The column identification line is inserted in the data set or member after the line in which you entered COLS. The column identification line moves with the rest of the data when you scroll through the data set or member. To display a non-scrolling, non-editable column indicator line, use the COLS primary command. See COLS—Display Fixed Columns Line.

Note: You can use the COLS line command with the BOUNDS line command to help check and reposition the bounds settings.
To remove the column identification line from the panel, you can either type D in the line command field that contains the =COLS> flag, or type one of these commands on the command line:
  • RESET (to reset all flagged lines), or
  • RESET SPECIAL (to reset only the special lines)

Examples

The example in Figure 1 shows the column identification line displayed with the boundary definition line. The COLS command is typed in the line command field.

Figure 1. Before the COLS line command
Screen dump.

When you press Enter, the editor inserts the COLS line, as shown in Figure 2.

Figure 2. After the COLS line command
Screen dump.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014