EDIT—TABSET subcommand

Use the TABSET subcommand to:
  • Establish or change the logical tabulation settings.
  • Cancel any existing tabulation settings.
Note: The TABSET subcommand is supported only on terminals that support tab setting.

The basic form of the TABSET subcommand causes each strike of the tab key to be translated into blanks corresponding to the column requirements for the data set type. For example, if the name of the data set you are editing has FORT as a descriptive qualifier, the first tabulation setting is in column 7. The values in Table 1 are in effect when you first enter the EDIT command.

Table 1. Default tab settings
Data set name descriptive qualifier Default tab settings columns
ASM 10,16,31,72
CLIST 10,20,30,40,50,60
CNTL 10,20,30,40,50,60
COBOL 8,12,72
DATA 10,20,30,40,50,60

FORT FORTRAN(H) compilers,
FORTRAN IV (G1)
  product data set types.

7,72

PLI PL/I Checkout and
  Optimizing compiler data set types.

5,10,15,20,25,30,35,40,45,50
TEXT 5,10,15,20,30,40
VSBASIC 10,15,20,25,30,35,40,45,50,55
User-defined

10,20,30,40,50,60
 

You might find it convenient to have the mechanical tab settings coincide with the logical tab settings. Note that, except for line-numbered COBOL or VSBASIC data sets, the logical tab columns apply only to the data that you actually enter. Because a printed line number prompt is not logically part of the data you are entering, the logical tab positions are calculated beginning at the next position after the prompt. Thus, if you are receiving five-digit line number prompts and have set a logical tab in column 10, the mechanical tab should be set 15 columns to the right of the margin. If you are not receiving line number prompts, the mechanical tab should be set 10 columns to the right of the margin.

In COBOL and VSBASIC data sets, the sequence number (line number) is considered to be a logical (and physical) part of each record that you enter. For example, if you specify the NONUM operand on the EDIT command while editing a COBOL or VSBASIC data set, the system assumes that column 1 is at the left margin and that you are entering the required sequence numbers in the first six columns for COBOL or the first five columns for VSBASIC. Thus, logical tabs are calculated from the left margin (column 1). In line-numbered COBOL data sets (the NONUM operand was not specified), the column following a line number prompt is considered to be column 7 of your data; the first six columns are occupied by the system-supplied sequence number (line number). In line-numbered VSBASIC data sets, the column following a line number prompt is considered to be column 6 of your data; the first five columns are occupied by the system-supplied sequence number.