The NULLS primary command sets nulls mode, which determines whether trailing spaces in each data field are written to the panel as blanks or nulls.
.-ON--STD-----. >>-+-NULLS-+--+-------------+---------------------------------->< +-NULL--+ | .-ALL-. | '-NUL---' +-ON--+-----+-+ +-STD---------+ +-ALL---------+ '-OFF---------'
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 the NULLS command, 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.
NULLS ON ALL
NULLS ON STD
NULLS OFF