|
Specifies how data is stored and depends solely on the compiler that generates the application that created the data.
In general, IBM mainframe (MVS) data is stored using the two-byte method and ICL/PC (Microfocus compiler) data is stored using the one-byte method.
IBM MVS half word alignments:
pic digits 0123456789012345678
byte length 0222244444888888888
Intel, ICL, single byte alignments:
pic digits 0123456789012345678
byte length 0112233444555667788
There are several ways to ascertain which method is used:
■ Consult the original COBOL compiler documentation used to create the application where the data originated.
■ Ask someone who knows how the original data was created and by which system (generally, systems programmers will know this).
■ Assume IBM mainframe data is two-byte aligned, and everything else is one-byte aligned.
Try the Preview option to see which setting works best for the file. If you select the incorrect setting, generally the record contents after the COMP field will be misaligned.
|