Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Official Sources

This page lists authoritative sources for XPT format and regulatory requirements.

SAS Documentation

TS-140: XPT V5 Specification

The authoritative specification for XPT V5 format.

  • Title: Record Layout of a SAS Version 5 or 6 Data Set in SAS Transport (XPORT) Format
  • Publisher: SAS Institute Inc.
  • Link: TS-140 PDF

Key contents:

  • File structure (headers, NAMESTR, observations)
  • 140-byte NAMESTR record layout
  • IBM floating-point encoding
  • Character encoding rules

FDA Documentation

Study Data Technical Conformance Guide

Requirements for electronic study data submissions.

  • Publisher: U.S. Food and Drug Administration
  • Link: TCG PDF

Key contents:

  • Required file formats (XPT V5)
  • File size limits (5GB)
  • Character encoding (ASCII)
  • eCTD placement

FDA Data Standards Catalog

Supported CDISC standards and versions.

CDISC Standards

SDTM Implementation Guide

Standard for tabulation data structure.

Key contents:

ADaM Implementation Guide

Standard for analysis datasets.

Key contents:

  • Analysis dataset structures
  • Derived variable conventions
  • Traceability requirements

CDISC Controlled Terminology

Standard coded values for CDISC variables.

Format Registries

Library of Congress

Format documentation and preservation information.

Validation Tools

Pinnacle 21

Industry-standard CDISC validation tool.

Validates:

  • XPT file structure
  • CDISC standard compliance
  • define.xml consistency
  • Controlled terminology

OpenCDISC (Legacy)

Open-source validation (now Pinnacle 21 Community).

International Regulators

PMDA (Japan)

NMPA (China)

EMA (Europe)

Technical References

IBM Floating-Point

ISO 8601 Date/Time

Used for SDTM timing variables (--DTC).

Character Encodings

xportr (R Package)

R package for XPT file handling:

pyreadstat (Python)

Python library for reading statistical file formats:

haven (R Package)

R package for reading SAS files:

Citation

When referencing xportrs in academic or regulatory contexts:

@software{xportrs,
  title = {xportrs: SAS Transport (XPT) file format library for Rust},
  author = {xportrs contributors},
  year = {2024},
  url = {https://github.com/rubentalstra/xportrs},
  license = {MIT OR Apache-2.0},
}