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


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SAS Interview Questions

how can you import .csv file in to sas? : Sas programming

0 Answers  


Given an unsorted data set, how to read the last observation to a new data set?

0 Answers  


explain the main difference between the nodup and nodupkey options? : Sas-administrator

0 Answers  


how to remove the duplicates by proc sql?

2 Answers   Genpact,


For what purpose would you use the RETAIN statement?

0 Answers   Quintiles,


How to convert HTML file into SAS dataset?

0 Answers  


whenever we using the merging through data set merging ,we can get note in log like this "MERGE STATEMENT HAS MORE THAN ONE ONE DATASET BY REPEATED BY VAIABLES" but the output has come in good manner,whenever in in sql(full join) we can get cartion product.so How do overcome this problem in sql?

1 Answers   Accenture,


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.

0 Answers  


how to extract data from SAP servers? Is like oracle servers or any other methods to extract please reply me.

1 Answers  


What would be the value of month at the end of data step execution and how many observations would be there?

0 Answers  


Which command is used to save logs in the external file?

0 Answers  


Tell different ways to create Macrovarible?

3 Answers   Accenture, PharmaNet i3,


Categories