Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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;



The below code we are using for creating more than one macro variables in proc sql using into clau..

Answer / gk

ONly Var1 will be assigned based on the distinct patient
count. Var2 & Var3 macro variables will not be created .

We can not use :Vara - :Varc in into clause of select
statement for creating macro variables .Sinxe it is not a
array format.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More SAS Interview Questions

name the scheduler for scheduling job and explain the scheduler? : Sas-di

0 Answers  


Why Info School? BUILD YOUR CAREER WITH RIGHT GUIDANCE AND SUPPORT

0 Answers  


What is the use of PROC gplot?

0 Answers  


how to assign a macro value to a variable?

8 Answers   CitiGroup,


i want to upload titles and footnotes to excel file?how it is possible?

1 Answers  


What are the data types in sas?

0 Answers  


where to use sas business intelligence? : Sas-bi

0 Answers  


How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

0 Answers   Quintiles,


How do you use the do loop if you don’t know how many times you should execute the do loop?

0 Answers  


Approximately what date is represented by SAS date value of 730

9 Answers  


What is the pound sign used for in the data_null_ ?

1 Answers  


How do you specify the number of iterations and specific condition within a single do loop?

0 Answers  


Categories