Answer Posted / prag s.
FROM LITTLE SAS BOOK....
TO DEBUG MACRO WE CAN USE THESE OPTIONS---
MERROR, SERROR, SYMBOLGEN, MLOGIC, MPRINT
OPTIONS MPRINT and so on....
Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
What are the parameters of scan function?
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 is the purpose of _error_? : Sas programming
If money were no object, what would you like to do?
what is the use of proc sql? : Sas programming
describe the interaction table in sas di? : Sas-di
What is the length assigned to the target variable by the scan function?
Mention the category in which sas informats are placed?
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.
What do the SAS log messages "numeric values have been converted to character" mean?
How to convert a numeric variable to a character variable?
what other sas products have you used and consider yourself proficient in using? : Sas programming
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
AE datasets names? how many types?
Differences between where and if statement?