Focal Point
DOWK FUNCTION

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5581087331

July 07, 2004, 07:01 PM
serenekk
DOWK 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
jmdoyl1
see 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
jimster06
This works for me.
-SET &MYDAY = DOWK(&YYMD,'A4');
-TYPE &MYDAY
July 07, 2004, 07:39 PM
serenekk
Thanks, Guys!
'A4' is what I am missing and it worked great now!
Thanks again!