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


MASKLINE—Set or Query the Mask Line

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

The MASKLINE assignment statement sets or retrieves the value of the mask line, which controls the display formatting of your input.

Syntax

Read syntax diagramSkip visual syntax diagram
Assignment statement syntax

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

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

varname
The name of a variable containing maskline contents.
data
Specifies that 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.

Description

The MASKLINE assignment statement places the mask line contents in a variable or sets the mask line from a variable. The mask line can contain any characters and serves to initialize inserted lines to the value of the mask line. See the description of templates in Overlays and templates for more information on the setting of a mask line.

Be careful not to destroy a DBCS string in the mask line. If shift-out (SO) or shift-in (SI) characters in a mask line are overlaid through the MASKLINE statement, the result is unpredictable.

Return codes

0
Normal completion
4
Data truncated
16
Variable data truncated
20
Severe error

Examples

To set the mask line to place comment delimiters starting at lines 40 and 70:
ISREDIT MASKLINE = <40 '&STR(/*)' 70 '&STR(/*)'>
To set the mask line to blanks:
ISREDIT MASKLINE = " "

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014