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


TABSLINE—Set or Query Tabs Line

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

The TABSLINE assignment statement either sets the tabs line, or retrieves the tabs line and places it in a variable.

Syntax

Read syntax diagramSkip visual syntax diagram
Assignment statement syntax

>>-ISREDIT--(varname)-- = --TABSLINE---------------------------><

Read syntax diagramSkip visual syntax diagram
>>-ISREDIT--TABSLINE-- = --data--------------------------------><

varname
Specifies the name of a variable to hold the contents of the current tabs line.
data
Specifies the data used to set the tabs line. The only valid tab characters for this data are blanks, asterisks (*), hyphens (-), and underscores (_). These forms can be used:
  • Simple string
  • Delimited string
  • Variable
  • Template (< col,string >)
  • Merge format (string1 + string2, operand + string2, string1 + operand)
  • Operand:
    LINE linenum
    Data from the line with the given relative line number.
    LINE label
    Data from the line with the given label.
    MASKLINE
    Data from the mask line.
    TABSLINE
    Data from the tabs line.

Return codes

0
Normal completion
4
Data truncated
8
Invalid data detected and ignored
20
Severe error (invalid input)

Examples

To store the value of the tabs line in variable &OLDTABS:
ISREDIT (OLDTABS) = TABSLINE
To set the tabs line to "*___* *":
ISREDIT TABSLINE = "*___*   *"
To clear the tabs line:
ISREDIT TABSLINE = " "
To set tabs in columns 1 and 35:
ISREDIT TABSLINE = <1,*,35,*>
To add a tab in column 36:
ISREDIT TABSLINE = TABSLINE + <36,*>

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014