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 |
How to include or exclude specific variables in a data set?
what are the validation tools in sas?
How do you add a number to a macro variable?
What is the difference between match merge and one to one merge?
What is connection profile? : sas-grid-administration
what is the prob plot in clinical domain
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
What sas features do you use to check errors and data validation?
how can you import .csv file in to sas? : Sas programming
explain the proc in sas? : Sas-administrator
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 are the applications primarily used by business analyst? : Sas-bi