By admin | November 25, 2009

SAS Certified Adv Programmer 130 Questions (21)

The following SAS program is submitted:

%let lib = %upcase(sasuser);
proc sql;
    select nvar from dictionary.tables
        where libname = "&lib";
quit;

Given that several SAS data sets exist in the SASUSER library, which one of the following is generated as output?

A. no result set
B. a syntax error in the log
C. a report showing the names of each table in SASUSER
D. a report showing the number of columns in each table in SASUSER

2 comments | Add One

  1. admin - 11/25/2009 at 11:33 am

    D

  2. Consty - 06/6/2013 at 9:43 pm

    D. nvar is the number of colunns in each table in a specified library.

Leave a Comment

Leave a Reply

Your email address will not be published.