Skip to content

xport: report SAS CPORT files instead of a generic parse error - #443

Open
tbugfinder wants to merge 1 commit into
WizardMac:devfrom
tbugfinder:feature/xpt-cport
Open

tbugfinder wants to merge 1 commit into
WizardMac:devfrom
tbugfinder:feature/xpt-cport

Conversation

@tbugfinder

Copy link
Copy Markdown

SAS CPORT files are often given an .xpt extension, but they are a different, undocumented format. Detect the "COMPRESSED" banner that compressed CPORT files begin with and return the new READSTAT_ERROR_UNSUPPORTED_SAS_CPORT, so users know to convert the file to SAS XPORT. Refs #187.

SAS CPORT files are often given an .xpt extension, but they are a
different, undocumented format. Detect the "**COMPRESSED**" banner that
compressed CPORT files begin with and return the new
READSTAT_ERROR_UNSUPPORTED_SAS_CPORT, so users know to convert the file
to SAS XPORT. Refs WizardMac#187.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant