Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
LINE—Set or Query a Line from the Data Set z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The LINE assignment statement either sets or retrieves the data from the data line specified by a relative line number or label, and places it in a variable. SyntaxAssignment statement syntax >>-ISREDIT--(varname)-- = --LINE--+-linenum-+------------------>< '-label---' >>-ISREDIT--LINE--+-linenum-+-- = --data----------------------->< '-label---'
DescriptionThe logical data width of the line determines how many characters are retrieved or set. See the description of the DATA_WIDTH command for information on determining the current logical data width. You must specify the line pointer to set or retrieve a line. To set data on a line, you can use a variety of data formats: (variable), templates, or merging a line with other data. The data on the line is completely overlaid with the data specified on this command. Return codes
ExamplesTo replace the data on line 7
with data from a variable named NEWDAT:
Note: This
syntax is preferred to:
because
the variable is not rescanned by either the language processor or
ISPF.To set comment delimiters in columns 40 and 70,
blanking the rest of the line:
To
overlay the first 2 columns of line 2 with //:
To
merge mask line data with data from variable &VAR:
|
Copyright IBM Corporation 1990, 2014
|