How many observations are written out to the data set SUBSET?

Given the SAS data set AGES:
AGES
AGE
———
The variable AGE contains character values. The following SAS program is submitted:
data subset;
set ages;
where age> 12;
run;
How many observations are written out to the data set SUBSET?
A. 0
B. 1
C. 2
D. 3

Download Printable PDF. VALID exam to help you PASS.

One thought on “How many observations are written out to the data set SUBSET?

  1. A. is the correct answer. SAS defines the variable length in the descriptor portion through its first appearance. (or Variables attributes are decided as per its first occurrence). And therefore 9 decides the length of the character variable to one

    btw question is incomplete :

    Given the SAS data set AGES:
    AGES
    AGE
    ———
    9
    12
    15
    The variable AGE contains character values. The following SAS program is submitted:
    data subset;
    set ages;
    where age> 12;
    run;
    How many observations are written out to the data set SUBSET?
    A. 0
    B. 1
    C. 2
    D. 3

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.