Win 98
SAS v8.02
I have a macro which contains a PROC SQL procedure and the current date (&SYSDATE) is used within the PROC SQL procedure.
Everything works fine, until last night when I left SAS open over night and came to work this morning, ran my macro (e.g. %myMacro), then found that &SYSDATE was outputting as yesterday! I checked my computers clock and its date was correct. I "re-submitted" the macro and still the same porblem. I tested &SYSDATE using a put statement inside a data step and still the saome problem. I then closed SAS and opened it back up, and &SYSDATE returned the correct date.
The confusing bit is that I checked my "SAS Guide to Macro Processing, version 6" book and it states that SYSDATE "gives the date on which the SAS job started execution".
Is this a bug, or am i misinterrupting something?
Thanks,
Dan.
SAS v8.02
I have a macro which contains a PROC SQL procedure and the current date (&SYSDATE) is used within the PROC SQL procedure.
Everything works fine, until last night when I left SAS open over night and came to work this morning, ran my macro (e.g. %myMacro), then found that &SYSDATE was outputting as yesterday! I checked my computers clock and its date was correct. I "re-submitted" the macro and still the same porblem. I tested &SYSDATE using a put statement inside a data step and still the saome problem. I then closed SAS and opened it back up, and &SYSDATE returned the correct date.
The confusing bit is that I checked my "SAS Guide to Macro Processing, version 6" book and it states that SYSDATE "gives the date on which the SAS job started execution".
Is this a bug, or am i misinterrupting something?
Thanks,
Dan.