can I use the dowk function with -set command? I am trying to translate today's date &YYMD into the day of the week.
Any help is appreciated!
see the earlier post that has HPART in the title
Give this a shot.
-SET &WK_VALUE = DOWK(&YYMD.EVAL, '');
-* to show what value you got.
This works for me.
-SET &MYDAY = DOWK(&YYMD,'A4');
'A4' is what I am missing and it worked great now!
|Powered by Social Strata|