Skip to main content

Problem:

Release: 3.1   

Resolution:

When performing WRITE or REWRITE operations on line sequential or line advancing files, the INSERTNULL parameter determines whether to insert NULL (x"00") characters before non-printable characters. The parameter also determines whether to strip out those NULL characters during READ operations.

INSERTNULL= {ON|OFF}

Default:

ON

Note:

INSERTNULL takes precedence over the N run-time switch.

If you don't set INSERTNULL, the setting of the N run-time switch determines whether or not NULL characters are inserted before non-printable characters. This switch has two settings:

OFF

Do not insert NULL characters before non-printable characters. Do not strip out NULL characters during READ operations.

ON

Insert NULL characters before non-printable characters. Strip out NULL characters during READ operations.

***this file handler option should be set from the file handler configuration file (extfh.cfg)

Old KB# 6777