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
How would you identify a macro variable? : sas-macro
Which are the statements whose placement in the data step is critical?
I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry
what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming
What is program data vector (pdv)?
how can you create zero observation dataset? : Sas programming
Describe the ways in which you can create a macro variable?
what is hierarchy flattening? : Sas-di
If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?
In ARRAY processing, what does the DIM function do?
What do the sas log messages “numeric values have been converted to character” mean? What are the implications?
What are the statements that are executed only?
what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming
What is the difference between SAS functions and procedures?
How would you include common or reuse to be processed along with your statements?