Free A00-212 Exam Braindumps
SAS Advanced Programming Exam for SAS 9 Questions 46–50 (page: 11)

Updated On: 9-Feb-2026

The following SAS program is submitted:

data new;
do i=1,2,3
nextfile=compress('March' || |);
infile abc filevar=nextfile
end=eof;
do until (eof);
input dept $sales;
end;
run;

What is the purpose of the FILEVAR=option on the INFILE statement?

  1. It names the variable NEXTFILE, whose value is output to the SAS data set NEW
  2. It names the variable NEXTFILE, whose values point to an aggregate storage location
  3. It names the variable NEXTFILE, whose value is a SAS file reference
  4. It names the variable NEXTFILE, whose change in value causes in INFILE statement to open a new input file

Answer(s): D



The following SAS program is submitted:

%micro cols1;
name age;
%mend;
%macro cols2;
height weight
%mend
proc print data=sashelp.class;
<insert VAR statement here>
Run

Which VAR statement successfully completes the program and produces a report?

  1. var heigh %cols1;
  2. var %cols1 %cols2 height;
  3. var %cols1 height;
  4. var %cols2 %cols1;

Answer(s): A



The following SAS program is submitted:

data new(bufsize = 6144 bufno = 4);
set old;
run;

What is the difference between the usage of BUFFSIZE= and BUFNO= options?

  1. BUFSIZE=specifies the size of the output buffer in kilobytes; BUFNO=specifies the number of output buffers
  2. BUFSIZE= specifies the size of the input buffer in bytes; BUFFNO= specifies the number of input buffers
  3. BUFSIZE= specifies the size of the input buffer in kilobytes; BUFNO=specifies the number of input buffers
  4. BUFSIZE= specifies the size of the output buffer in bytes; BUFNO= specifies the number of output buffers

Answer(s): D



The SAS data set ONE contains the variables X,Y,Z and W.

The following SAS program is submitted:
Proc transpose data =one
Out=trans
Name=new;
By x;
var y;
run;

What are the names of all of the columns created by the TRANSPOSE procedure?

  1. new, X,Y and _COL1_
  2. new, X and COL1 only
  3. new, Y and COL1 only
  4. new, X and Y only

Answer(s): B



Which SAS integrity constraint type ensures that a specific set or range of values are the only values in a variable?

  1. CHECK
  2. NOT NULL
  3. PRIMARY KEY
  4. UNIQUE

Answer(s): A



Viewing page 11 of 38
Viewing questions 51 - 55 out of 184 questions


Post your Comments and Discuss SAS Institute A00-212 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!