Open selik opened 2 years ago
The FORMAT and INFORMAT descriptions are in the form used in a FROMAT or INFORMAT statement.
I think Stata misinterpreted this instruction and wrote the description instead of the name into the namestr struct. I'm removing the bug label, because I think there's a bug in Stata's implementation that I compared against, and not a bug in this module.
SAS's publicly available technical paper, Record Layout for a SAS® Version 8 or 9 Data Set in SAS® Transport Format describes handling format and informat names longer than 8 characters:
aa
= variable numberbb
= length of name in bytescc
= length of label in bytesdd
= length of format description in bytesee
= length of informat description in bytesf.
= text for variable nameg.
= text for variable labelh.
= text for format descriptioni.
= text of informat descriptionhttps://support.sas.com/content/dam/SAS/support/en/technical-papers/record-layout-of-a-sas-version-8-or-9-data-set-in-sas-transport-format.pdf