PROC SQL always ends with QUIT statement.Why cant you use
RUN in PROQ SQL ?
Answer Posted / richa
The PROC SQL step does not require a RUN statement. PROC
SQL executes each query automatically. If you use a RUN
statement with a PROC SQL step, SAS ignores the RUN
statement, executes the statements as usual, and generates
the note shown below in the SAS log:
NOTE: PROC SQL statements are executed immediately;
The RUN statement has no effect.
As per SAS certification guide.
| Is This Answer Correct ? | 47 Yes | 0 No |
Post New Answer View All Answers
Enlist the functions performed by sas.
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
How can you limit the variables written to output dataset in data step?
Tell me more about the parameters in macro? : sas-macro
What is the different between functions and PROCs that calculate the same simple descriptive statistics?
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 operational data and operational system? : Sas-di
What is slibref?
Difference between nodup and nodupkey options?
how do the in= variables improve the capability of a merge? : Sas programming
How do you control the number of observations and/or variables read or written?
For what purposes have you used sas macros? : sas-macro
How you are maintaining sas programmes in your company...any specific version control software you are using? If so, tell me the name?
Explain proc univariate?
explain the proc in sas? : Sas-administrator