BookmarkSubscribeRSS Feed
kavita
Calcite | Level 5

Hi,

I am trying to convert .XPT file to .sas7bdat using SAS studio 

could some one help me how to do this.

Thanks

Ka

2 REPLIES 2
t_ar_taat
Quartz | Level 8

Hi.

I can just know import one xpt file.

 

Step1:

Confirm your xpt file is in "FILE"

adsl.jpg

 

Step2:

libname xportin xport '/home/YOUR_ACCOUNT_OF_SASSTUDIO/adsl.xpt';
proc copy in=xportin out=work;
select adsl;
run;

 

Step3:

Finished.

adsl2.png

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 3782 views
  • 0 likes
  • 3 in conversation