July 07, 2004, 07:01 PM
serenekkDOWK FUNCTION
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!
July 07, 2004, 07:33 PM
jmdoyl1see the earlier post that has HPART in the title
Give this a shot.
-SET &ECHO=ALL;
-SET &WK_VALUE = DOWK(&YYMD.EVAL, '');
-* to show what value you got.
&WK_VALUE.EVAL
July 07, 2004, 07:37 PM
jimster06This works for me.
-SET &MYDAY = DOWK(&YYMD,'A4');
-TYPE &MYDAY
July 07, 2004, 07:39 PM
serenekkThanks, Guys!
'A4' is what I am missing and it worked great now!
Thanks again!