New SAS User

Completely new to SAS or trying something new with SAS? Post here for help getting started.
BookmarkSubscribeRSS Feed
SNJO
Fluorite | Level 6

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
LinusH
Tourmaline | Level 20

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
SNJO
Fluorite | Level 6

Thank you, will try it out.

Ksharp
Super User
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
SNJO
Fluorite | Level 6

Thank you, will do.

tarheel13
Rhodochrosite | Level 12

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 

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 6 replies
  • 1118 views
  • 2 likes
  • 4 in conversation