Displaying the column number information line


The COLS (COL) primary command displays the COLS information line. The information line is a ruler which allows you to identify the specific location of data in the data area of the screen.

Display COLS Ruler (COLS command)

image2021-6-15_18-0-36.png

Related topics

Perform the following steps to display COLS ruler:

  1. Type COL in the COMMAND field.
  2. Press Enter. File-AID displays the ruler line at the top of the data display as illustrated in the following figure.

Browse - Character Mode - After COLS Command

  File-AID - Browse - USERID9.FASAMP.EMPMAST ---------------- LINE 0000 COL 1  80
  COMMAND ===>                                                  SCROLL ===> PAGE
 ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
 ********************************* TOP OF DATA **********************-CAPS OFF-*
 00090MARTIN         EDWARD    M  AIRPLANE MANUFACTURER         427890125 1019549
 - - - - - - - - - - - - - - - - - - - - - - - - - - -  1 RECORD(S) NOT SELECTED
 00200JACKSON        JOSEPH    C  ORATOR                        275587177 0204629
 10000ANDREWS        GEORGE       ACTOR                         576312032 0422489
 15000MURPHY         RONALD    L  PAINTER                       987654321 1202559
 18034SCHNEIDER      ELLEN     C  NURSE                         341559549 0329609
 21035JONES          GEORGE    B  COUNTRY SINGER                463813456 0909449
 25100ROBERTS        WILLIAM   R  POLITICIAN                    879563325 0508659
 27007ALLEN          JOYCE     M  AUTHOR                        783458334 0121329
 30001RICHARDS       REX       W  RODEO CLOWN                   632764534 0401409
 31000SAVAGE         JONATHON  C  ELECTRICIAN                   348567992 0622509
 34010SMITH          JANET        AIRLINE ATTENDANT             557782984 1123599
 34011JACOBS         DIANA        DOCTOR                        225368395 0217579
 ******************************** BOTTOM OF DATA ********************-CAPS OFF-*  



   Enter FMT (formatted mode), VFMT (vertical format), UNFMT (unformatted mode)

More about COLS command

  • When you scroll the data display to the right beyond column 100, the ruler is useful for determining the last two (low-order) digits of the column number. The range of columns displayed is indicated in the top right corner of the display (except when overwritten by an error message).
  • If the record key is included in the display, the COLS line contains spaces to separate the key’s position.
  • In the Edit function, COLS is a line command not a primary command.
  • Use the COLS OFF or RESET command to remove the column number information line.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*