Can we create datasets by proc step ? (Proc contents, Means)?
Answers were Sorted based on User's Feedback
Answer / fabio
Yes you can, for example many proc (like sort for example) have the option OUT= to allow it
| Is This Answer Correct ? | 2 Yes | 0 No |
what is the difference between proc means and proc tabulate?
what is broad cast agent? : Sas-bi
what is _error_?
2 Answers Axis Bank, Cognizant, JPMorgan Chase,
Name few SAS functions?
What is Linear Regression?
what is the limit of the number of the rows and columns available in the worksheet? : Sas-bi
The below code we are using for creating more than one macro variables in proc sql using into clause. How we can use same code to create macro variables vara, varb, varc instead of var1, var2, var3.? proc sql noprint; select count(distinct(patient)) into :var1 - :var3 from dataset1 group by trtreg1c ; quit;
How to convert a numeric variable to a character variable?
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set.
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 is the maximum length of the macro variable? : sas-macro
How could i automate the code in the scenario:Every month one new data set will be created for that perticular month transaction list.Now i would like to update the data in the source table by appending every month data automatically. jan---set jan; feb---set jan feb; mar---set jan mar;