how to import XTP files into SAS datasets?



how to import XTP files into SAS datasets?..

Answer / 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

More SAS Interview Questions

What is the use of function Proc summary?

0 Answers  


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

0 Answers  


What is univariate n where it can be used n how...?

2 Answers  


what are input dataset and output dataset options?

6 Answers   HCL,


if we dont want to print output what we have to do..???give syntax..???

8 Answers   Accenture, GSK GlaxoSmithKline,






What do you code to create a macro? : sas-macro

0 Answers  


what are the different ways of merging two datasets.name atleast 4.

2 Answers  


explain the main difference between the nodup and nodupkey options? : Sas-administrator

0 Answers  


how to import HTML files into SAS datasets?

3 Answers   HP,


Explain proc sort?

0 Answers  


what are system option ? give few examples ? what are dataset options and dataset statements ? if there is a keep option and keep statement ? which one is executed first ? Difference between a WHERE statement and IF statement ? what is the advantage of using WHERE statement option on the dataset ?

1 Answers   Satyam,


what do you mean by data staging area? : Sas-di

0 Answers  


Categories