The integer info record, if present, has the following format:
/* Header. */ int32 rec_type; int32 subtype; int32 size; int32 count; /* Data. */ int32 version_major; int32 version_minor; int32 version_revision; int32 machine_code; int32 floating_point_rep; int32 compression_code; int32 endianness; int32 character_code;
Record type. Always set to 7.
Record subtype. Always set to 3.
Size of each piece of data in the data part, in bytes. Always set to 4.
Number of pieces of data in the data part. Always set to 8.
PSPP major version number. In version x.y.z, this is x.
PSPP minor version number. In version x.y.z, this is y.
PSPP version revision number. In version x.y.z, this is z.
Machine code. PSPP always set this field to value to -1, but other values may appear.
Floating point representation code. For IEEE 754 systems this is 1. IBM 370 sets this to 2, and DEC VAX E to 3.
Compression code. Always set to 1, regardless of whether or how the file is compressed.
Machine endianness. 1 indicates big-endian, 2 indicates little-endian.
Character code. The following values have been actually observed in system files:
windows-1250 code page for Central European and Eastern
windows-1252 code page for Western European languages.
The following additional values are known to be defined:
Other Windows code page numbers are known to be generally valid.
Old versions of SPSS for Unix and Windows always wrote value 2 in this field, regardless of the encoding in use. Newer versions also write the character encoding as a string (see Character Encoding Record).