Lookup Information on a SAS XPORT Format Library
lookup.xport.RdScans a file as a SAS XPORT format library and returns a list containing information about the SAS library.
References
SAS Technical Support document TS-140: “The Record Layout of a Data Set in SAS Transport (XPORT) Format” available as https://support.sas.com/content/dam/SAS/support/en/technical-papers/record-layout-of-a-sas-version-5-or-6-data-set-in-sas-transport-xport-format.pdf