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 12742

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 15546

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

Accenture,

5 22678

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

Accenture,

4 19692

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

Accenture,

14 26431

Name statements that are recognized at compile time only?

Accenture,

3 8339

Identify statements whose placement in the DATA step is critical.

Accenture, Labasol,

6 9812

Name statements that function at both compile and execution time.

Accenture,

7 22754

Name statements that are execution only.

Accenture,

14 19647

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

Accenture,

6 16473

What is _n_?

Accenture,

23 32314

How could you generate test data with no input data?

CTS,

14 26355

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 15757

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

Genzyme,

4 6498

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.

1770


Post New SAS Questions

Un-Answered Questions { SAS }

In sas admin differentiate between roles and capabilities? : sas-grid-administration

549


What do you code to create a macro? : sas-macro

561


Explain how you can debug and test your SAS program?

557


Explain the use of proc gplot? : sas-grid-administration

544


Mention few capabilities of sas framework.

680






explain what is data set in sas? : Sas-administrator

517


Explain what is data step?

717


what are the types of interactive display types? : Sas-bi

641


Enlist the syntax rules followed in sas statements.

602


Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?

1906


How do you control the number of observations and/or variables read or written?

731


How do you debug and test your SAS programs?

1036


What is the order of application for output data set options, input data set options and SAS statements?

1073


Describe a time when you were really stuck on a problem and how you solved it?

2077


Explain bmdp procedure?

601