sas macros

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the table names in oracle database...?

2222


What is the difference between the proc sql and data step?

638


Where do you use proc means over proc freq?

542


Explain what is SAS informats?

596


How would you define the end of a macro?

674






Describe the function and untility of the most difficult SAS macro that you have written.

1693


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

1073


What is the maximum length of the macro variable? : sas-macro

592


What is the work of tranwrd function?

641


What is the use of the %include statement?

665


Hello, I have PROC SQLs results group by 3 fields and I use SUM and COUNT functions in SQL. The problem is when I try to display my result with PROC TABULATE. I am getting very big numbers. I believe I make a mistake some where in Tabulate. Here is my Proc Tabulate. PROC TABULATE DATA=OUT04_05 FORMAT=12.; CLASS YR CENTRE VISA / PRELOADFMT EXCLUSIVE; VAR NEWUSER FRAUD TRANSFER AUTUSER REISSUE; TABLE CENTRE ALL, (YR ALL)*VISA, (NEWUSER*F=COMMA12. AUTUSER*F=COMMA12. FRAUD*F=COMMA12. TRANSFER*F=COMMA12. REISSUE*F=COMMA12.) / MISSTEXT={LABEL='0'} PRINTMISS RTS=20; FORMAT VISA VISAFMT.; KEYLABEL SUM = ' ' ALL = 'TOTAL'; LABEL YR = 'DATE YEAR' NEWUSER = 'TOTAL NEW ACCT' TRANSFER = 'TOTAL TRANSFER' FRAUD = 'TOTAL FRAUD TRANSFER' AUTUSER = 'TOTAL AUTH USERS' REISSUE = 'TOTAL REISSUE'; When I code it like : NEWUSER*N*F=COMMA12. AUTUSER*N*F=COMMA12. I get same amount numbers but to find a NEWUSER I use COUNT(*) and to find AUTUSER I use SUM(xxxx) function so both result shouldn’t be the same my problem is in this point. Could you tell me where the problem in code is. How can I display my result? TX.

1750


Explain the difference between using drop = data set option in set and data statement?

660


How do you delete duplicate observations in sas?

548


what is broad cast agent? : Sas-bi

572


Mention few capabilities of sas framework.

666