SAS replaces the missing values as it encounters values that you assign to the variables. Thus, if you use program statements to create new variables, their values in each observation are missing ...
Write the current time as a string SYSTIME automatic macro variable SYSTIME &SYSTIME Time at moment of execution in HH:MM Return the current time of day as a SAS time value Time functions TIME( ) ( ) ...