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

Did you used proc test? when?

1575


Give e an example of..

1655


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

701


what is data governance? : Sas-di

625


Tell me about % include and % eval? : sas-macro

680






Of all your work, where have you been the most successful?

4206


What is the role of sas grid administrator? : sas-grid-administration

830


What is the maximum length of the macro variable? : sas-macro

627


What is proc sort?

724


Are you involved in writing the inferential analysis plan? Tables specfications?

1748


How to create an external dataset with sas code?

590


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

1668


what is the difference between floor and ceil functions in sas? : Sas-administrator

708


explain about data integrator metadata reports? : Sas-di

565


what are informats in sas? : Sas-administrator

588