how to import XTP files into SAS datasets?

Answer Posted / prashanthi.a

libname xptfile xport "&libname\test.xpt";
libname sasfile2 "&libname\new\";

proc copy in=xptfile out=sasfile2 memtype=data;
run;
for example:
libname xptdmg xport 'C:\Documents and Settings\user2\My
Documents\pk_analysis\Work\02data_raw\dmg.xpt';

proc copy in=xptdmg out= rawdata memtype= data;
run;

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how sas deals with business intelligence? : Sas-bi

581


Explain data_null_?

609


How to create a permanent sas data set?

676


Explain proc univariate?

604


Differentiate input and infile.

592






Explain bmdp procedure?

612


Describe 5 ways to do a “table lookup” in SAS?

699


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

1661


What is the SAS data set?

675


What is the order of application for output data set options, input data set options and SAS statements?

1080


Where do you use proc means over proc freq?

558


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

1660


What sas features do you use to check errors and data validation?

685


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

755


State the difference between INFORMAT and FORMAT ?

593