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
Topics:
SAS Adv Questions |
3 Comments »
A
input perform character to numeric conversion
data7. is the format for reading the date