You need to create an In List that it is to be later used in
a Where Clause that includes all the Regions that begin with
the letter A from the sashelp.shoes table. Using PROC SQL
with an into clause create the following string from the
sashelp.shoes table using the variable region
“AFRICA”,”ASIA”,…..
Answers were Sorted based on User's Feedback
Answer / vema reddy dwarampudi
Please add from clause in the above code
proc sql noprint;
select "'"||left(trim(Region))||"'" into :inlist separated
by ','
from sashelp.shoes
where Region like 'A%';
quit;
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vema reddy dwarampudi
proc sql noprint;
select "'"||left(trim(Region))||"'" into :inlist separated
by ','
where Region like 'A%';
quit;
| Is This Answer Correct ? | 1 Yes | 1 No |
what the use of proc glm
what is pdv? how it is related to input buffer in sas?
how to extract data from SAP servers? Is like oracle servers or any other methods to extract please reply me.
/* To determine the maximum and minimum of V1 */ data before3; input v1 v2 v3; cards; 3 2 1 4 6 5 2 1 3 6 5 4 1 3 2 5 4 6 ; run;
How could you generate test data with no input data?
How could you generate test data with no input data?
How do you debug macros?
what is data integration? : Sas-di
How do you write a test plan?
What do the PUT and INPUT functions do?
What is LOGICAL VARIABLES in SAS.And how it can be used..Can anyone support..???
What is the maximum length of the macro variable?