Arvind Intrvw Qstns

Preview:

Citation preview

  • 8/13/2019 Arvind Intrvw Qstns

    1/3

    SAS : TOPICS / INTERVIEW QUESTIONS LIST FROM BASE SAS

    ARVIND DAMA

    READING RAW DATA:

    1. Single @ vs double @@2. Missover Vs truncover3. Dlm and dsd4. How to handle huge data5. Necessity of informats6. : and & modifiers.7. Purpose of infile and input statements

    FUNCTIONS:

    1. Give me some names of function you know (eg. Intck, intnx, weekday, substr, scan)2. Length Vs lengthc3. Cat vs catx4. If vs where5. Retain stat and arrays6. X=month(today()); Format x date9.7. X= abc; x = abcd;8. Y = 24; y = 2456;9. X = 123456789; y=substr(x,3,4);10. Input() vs put()11. Intck() Vs intnx()12. Index() vs scan()13.List of system options.14.Significance of 1920 and significance of 1stjan 1960;15.What is the diff b/w arithmetic summation and sum function.16.Put() and input()17.Mod(), round() and int()18.Length(), lengthc(), substr(), scan(), index(), compress(), compbl().19.Day(), month(), year(), MDY(), datejul(), intck() and intnx().20. If-then-else.21.Do-while Vs Do-until22.Label statement.PROCEDURES:

    1. Proc Sortnodup/nodupkey/dupout/out=2. Proc ReportDefine/Group/Order3. Proc Tabulate4. Proc transpose

  • 8/13/2019 Arvind Intrvw Qstns

    2/3

    SAS : TOPICS / INTERVIEW QUESTIONS LIST FROM BASE SAS

    ARVIND DAMA

    ODS:

    1. ODS TRACE ON/OFF2. ODS SELECT / EXCLUDE3. How to create html/rtf/pdf outputs.

    COMBINING DATASETS:

    1. Set ds1 dsn2; Vs Set dsn1; Set dsn2;2. Update; ?3. Interleaving Vs stacking4. Merge with BY Vs Merge without BY stat5. Merge with IN = option6. First.var and Last.var ----- Purpose?7. Merge Vs Joins

    SAS/SQL:

    1. Syntax for a) CREATE table b) INSERT c) INNER joins2. How to Sort datasets3. How to remove duplicates4. How to count no. of obs.5. How to get employee details with highest salary.6. How to create a view7. What is Cartesian product?8. GROUP BY / ORDER BY / HAVING9. TABLES VS VIEW

    SAS/ACCESS

    1. Libname2. SQL Passthrough3. DBload process4. Libname Vs SQL Pass through5. DBlaod Vs (Libname & SQL Passthrough)6. Syntax for libname7. Syntax for sql pass through8. Syntax for dbload.

    MACROS

    1. Ways to create macro variables2. Data variable vs macro variables3. Data types in macros.4. Length range for numeric, character, macro variable.

  • 8/13/2019 Arvind Intrvw Qstns

    3/3

    SAS : TOPICS / INTERVIEW QUESTIONS LIST FROM BASE SAS

    ARVIND DAMA

    5. Purpose of %eval and %syseval6. Local macro variable Vs Global macro variable.7. User macro var Vs System macro var.8. Creating variables using INTO class (by default global)9. %local and % global10. Indirect reference in macros11.Nested macros12.%sysfunc13.Quoting functions - %str, %nrstr14.Call symput (executed by sas processor)15.Symget Function