By admin | August 12, 2009

SAS Certified Adv Programmer 50 Questions (15)

A batch (non -interactive) job is submitted on Wednesday, 20 January 1999 (SAS date 14264). The program completes the following day.

The following code is the last step in the SAS program:

data _null_;
    call symput('mdate', input("&sysdate", date7.));
run;

Which of the following is the value of the macro variable mdate?

a. 14264
b. 14265
c. 20JAN99
d. 21JAN99

3 comments | Add One

  1. admin - 08/12/2009 at 2:16 pm

    A

  2. Consty - 02/12/2013 at 7:10 pm

    input perform character to numeric conversion

  3. chinawokee - 07/10/2014 at 3:14 pm

    data7. is the format for reading the date

Leave a Comment

Leave a Reply

Your email address will not be published.