Specifying the handling of NULL characters inside Format data

Magic

3.0.0

In previous versions, if Format data contained a NULL character (0x00), the NULL character (0x00) was identified as the end of the data, and the portion thereafter was cut off.

From DataMagic Ver.3 onward, only for X, M, or N types of Format data, data that contains a NULL character (0x00) can be handled as a field of Format data up to a specified field length. To specify this setting, you specify as follows:

  • Select the Treat a null character as part of a field check box in the Data processing information settings tab of the System Environment Settings screen.

  • Specify "1" in the treat a null character as part of a field (ed_fmt_null_flag) of the system environment settings file (huledenv.conf).

Note

With this improvement, if you use data that contains a null character in extraction conditions or data conversion, the system behaves according to the settings, and this behavior might be different from that in Ver.2.

For details, see Changed the handling of data that contains a null character.