how we can create a FLAG datasets?
Ex:-ID age_group no_persons
1 to 10 10 to 20 3
11 to 20 21 to 30 7
21 to 3o 31 to 40 5


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

Post New Answer

More SAS Interview Questions

How to save the log information in a file for future use

2 Answers   HCL,


explain the concepts and capabilities of business object? : Sas-bi

0 Answers  


Compare sas with other data analytics tools.

0 Answers  


describe about joins? briefly?

2 Answers   CitiGroup,


how do u validate sas program

3 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  


Explain the main difference between the sas procedures and functions? : Sas-administrator

0 Answers  


is data integration and etl programming is same? : Sas-di

0 Answers  


what is the primary data source for the wrs? : Sas-bi

0 Answers  


Name statements that function at both compile and execution time?

1 Answers  


How to import the Zip files into SAS? If it is possible in SAS? If it is posible write the code...

7 Answers  


How to write duplicate records into a separate dataset using sort?

4 Answers   HSBC,


Categories