- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 12-12-2022 10:45 AM
(1117 views)
Hi,
I have the sdtm pilot submission package, in which all the files are in .xpt. How to read them to sas so I can work on generating the tables.
Thank you.
6 REPLIES 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I don't know about sdtm specifically, but XPT files are usually created using PROC CPORT- If that's the case you can use PROC CIMPORT to import them.
It could also be a file accessible using the LIBNAME XPORT engine.
Data never sleeps
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, will try it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Why not search it at this forum firstly ? There are a lot of discuss about it ,especially between me and Tom.
https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/td-p/846862
https://communities.sas.com/t5/SAS-Studio/import-XPT-file-into-SAS-OnDemand-Studio/td-p/846862
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, will do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
This is usually done with proc copy. suggest you read this thread. https://communities.sas.com/t5/SAS-Programming/Convert-XPT-to-SAS-Datasets/td-p/97872
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you,