The command:
cobrun[_t] -N myprog
loads the program Myprog. It also specifies that, in line sequential files, all characters less than or equal to x"1F", except for Tab and the file control characters, are treated as data. Null is not inserted before data characters less than x"1F" on output.
Comments:
This switch is especially useful if the format of your files is incompatible with this COBOL system.
Setting this switch to on means that when a program writes records to a line sequential file with a record containing control characters (that is, all characters with ASCII codes less than or equal to x"1F"), the system adds a null character (x"00") before each control character. Similarly, on reading a record from a line sequential file, these null characters are stripped from the control characters.
Setting this switch affects only the physical storage of data in a line sequential file. Records written with one setting and read back with the same setting are returned in exactly the same way. However, if you try to read a file with one setting which was written with the other setting, the results are unpredictable.
Setting this switch off enables control characters to be written and read in the same way as other characters.
When the N switch is on:
The File Handler configuration option INSERTNULL takes precedence over the N run-time switch:
When the N switch is off: