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 function of catx syntax? : Sas-administrator

0 Answers  


how to delete the duplicate columns permanently in SQL

2 Answers   Satyam,


Mention what is PROC in SAS?

0 Answers  


What’s the difference between var b1 – b3 and var b1 — b3?

0 Answers  


What is SAS? What are the functions does it performs?

0 Answers  






What is the purpose of the trailing @? The @@? How would you use them?

10 Answers   Accenture,


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

0 Answers  


Name statements that are execution only.

14 Answers   Accenture,


Name statements that are recognized at compile time only?

6 Answers  


Explain by-group processing?

0 Answers  


what is the use of sas management console? : Sas-di

0 Answers  


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

0 Answers  


Categories