Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
NULLS—Set or Query Nulls Mode z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The NULLS macro command sets nulls mode, which determines whether trailing blanks in each data field are written to the panel as blanks or nulls. The NULLS assignment statement either sets nulls mode or retrieves the setting of nulls mode and places it in a variable. SyntaxMacro command syntax .-ON--STD-----. >>-ISREDIT--NULLS--+-------------+----------------------------->< | .-ALL-. | +-ON--+-----+-+ +-STD---------+ +-ALL---------+ '-OFF---------'
Assignment statement syntax >>-ISREDIT--(var1,var2)-- = --NULLS---------------------------->< .-ON--STD-----. >>-ISREDIT--NULLS-- = --+-------------+------------------------>< | .-ALL-. | +-ON--+-----+-+ +-STD---------+ +-ALL---------+ '-OFF---------'
DescriptionThe term data field normally refers to the 72 characters of data on each line. Using hardware tabs, however, you can split each line into multiple fields. See TABS—Define Tabs for more details. Blank characters (X'40') and null characters (X'00') both appear as blanks. When you use the I (insert) line command, the data entry area appears as blanks for NULLS ON STD and as nulls for NULLS ON ALL. Trailing nulls simplify use of the Ins (insert) key on the IBM® 3270 keyboard. You can use this key to insert characters on a line if the line contains trailing nulls. Besides using NULLS, you can create nulls at the end of a line by using the Erase EOF or Del (delete) key. Null characters are never stored in the data; they are always converted to blanks. Return codes
ExamplesTo set nulls mode on with blank
trailing space written as one blank followed by nulls and empty fields
written as all blanks:
To
set nulls mode off and thus have trailing blanks in each data field:
|
Copyright IBM Corporation 1990, 2014
|