What do you code to create a macro? : sas-macro
No Answer is Posted For this Question
Be the First to Post Answer
Give an example where SAS fails to convert character value to numeric value automatically?
Do you need to combine data sets? How should you combine data sets– MERGE or SET statements in DATA steps,PROC APPEND,PROC SQL?
Describe the ways in which you can create a macro variable?
what is option year cuttoff in sas
Can you execute macro within another macro? If so, how would sas know where the current macro ended and the new one began? : sas-macro
What SAS statements would you code to read an external raw data file to a DATA step?
Describe how you would pass data to macro.
Explain the purpose of substr functions in sas programming.
/* This is example of age caluculate wihtout to display perfect days and years in output window */ data age; retain dob "12jun2003"d now "24may2011"d; age1=now-dob; age=(now-dob)/365.25; years=int(age); days1=round((age-years)*365.25); months=month(now)-1; if days1 gt 30 and months in(12,10,8,6,4,2)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month)*30.4375)+1; drop days1 month1 month; end; else if days1 gt 30 and months in (1,3,5,7,9,11)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month) *30.4375); drop days1 month1 month; end; drop age age1; proc print data=age; format dob now date.; run;
hi i am nipun can anybody tell me that if a clinical sas programmer write the code and after successfull execution where do they store it. how they submit tables to TL how work is assigned to programmers either both code, log, output to be submitted. can any one tell me the process
Name the option to produce a frequency line items rather that a table.
What is the purpose of the trailing and How would you use them?