sas macros
Answers were Sorted based on User's Feedback
Answer / sudheer
its is use to customaze the sas environment, it can be
used to do a repeatative task
| Is This Answer Correct ? | 18 Yes | 0 No |
Answer / ramesh babu
Macroes are Compiled Programes by macro procescer
it can be used for reuse
to save space
to consume execution time
to reduce code
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / mohan reddy
MACRO IS A STORED TEXT THAT CAN BE USED ANY WHERE IN THE SAS
SYSTEM.THE STORED CODE CAN BE USED REPETATIVLY WORK.
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / jyotshna
sas macros stores in autocall library.(default)
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / srinivas
Use With Macro Language We Can develop Reuseble applications
this applications we can use unlimited times.Use with Macro
language we can save more time and work for
programming.basically macros is most useful tool in the sas.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / swathi
MACRO IS A CHARACTER BASED LANGUAGE.MACRO ALLOWS U TO WRITE
A PIECE OF CODE ONCE AND USE IT AGAIN AND AGAIN IN THE SAME
PROGRAM OR IN DIFFERENT.IT IS A RE-USEABILITY OF CODE.
| Is This Answer Correct ? | 9 Yes | 4 No |
Answer / srimaheshbabu
Macro is a tool.By using macros we can do the
customize,reduce and extent
minimum amount of text.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ravi
Macro is a tool.It is used to customize,reduce and extent
minimum amount of text.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / t v r kumar
Macro is used to do reptative task we can call to any
program between the programers.
| Is This Answer Correct ? | 0 Yes | 1 No |
how do you read binary data in sas?
/* 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 have one dataset, could you please ans for this. id amount paid_amount 1 700 400 2 900 250 3 300 300 a 400 250 b 500 320 c 800 650 x 200 190 y 900 250 z 300 180 i want create new dataset having id and paid_amount who are paid high amount comparing amount. ex: 1d paid_amount 3 300 c 650 x 190
What are the analysis datasets created, and what are the new variables created in CLINICAL SAS
1 Answers Accenture, Sciformix,
how do you test for missing values? : Sas programming
If a variable contains letters or special characters, can it be numeric data type?
How to write duplicate records into a separate dataset using sort?
How would you keep from overlaying the a SAS set with its sorted version?
What sas features do you use to check errors and data validation?
data task; input id date date9. visit; cards; 101 01jan2015 1 101 02jan2015 2 101 06jan2015 3 102 04jan2015 1 102 07jan2015 2 102 12jan2015 3 103 06jan2015 1 103 13jan2015 2 ; run; write a program to find out missing dates between visits by each subject.
Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables.
what is syntax of proc merge ?