SAS Interview Questions
Questions Answers Views Company eMail

How would you code a merge that will keep only the observations that have matches from both sets.

Accenture, Bank Of America,

5 12738

How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set.

Accenture,

10 15541

What is the Program Data Vector (PDV)? What are its functions?

Accenture,

5 22671

Does SAS ‘Translate’ (compile) or does it ‘Interpret’? Explain.

Accenture,

4 19691

At compile time when a SAS data set is read, what items are created?

Accenture,

14 26422

Name statements that are recognized at compile time only?

Accenture,

3 8331

Identify statements whose placement in the DATA step is critical.

Accenture, Labasol,

6 9804

Name statements that function at both compile and execution time.

Accenture,

7 22741

Name statements that are execution only.

Accenture,

14 19645

In the flow of DATA step processing, what is the first action in a typical DATA Step?

Accenture,

6 16471

What is _n_?

Accenture,

23 32296

How could you generate test data with no input data?

CTS,

14 26337

How do you debug and test your SAS programs? What can you learn from the SAS log when debugging? How do you test for missing values? How would you create multiple observations from a single observation? What are some good SAS programming practices for processing very large data sets? Briefly describe 5 ways to do a "table lookup" in SAS. Why is SAS considered self-documenting? Are you sensitive to code walk-throughs, peer review, or QC review? What other SAS features do you use for error trapping and data validation? How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

2 15751

WHAT DIFFERRENCE DID YOU FIND AMONG VERSION 6 8 AND 9 OF SAS.

Genzyme,

4 6490

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.

1762


Post New SAS Questions

Un-Answered Questions { SAS }

How do dates work in sas?

631


What are all the problems you faced while validating tables and reports?

2992


Name and describe few sas character functions that are used for data cleaning in brief.

652


What will calendar procedure do?

584


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

533






What is the good sas programming practices for processing large data sets?

617


I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.

1687


Explain substr function?

565


Enlist the functions performed by sas.

662


Describe 5 ways to do a “table lookup” in SAS?

688


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

1929


What is the general format of function in sas? : sas-grid-administration

556


what is data governance? : Sas-di

611


What are the different operating system platforms in which we can use sas? : sas-grid-administration

579


What does PROC print, and PROC contents do?

703