Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi

Read-Only Read-Only Topic
Go
Search
Notify
Tools
DOWK FUNCTION
 Login/Join
 
Gold member
posted
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!
 
Posts: 71 | Registered: May 23, 2004Report This Post
Silver Member
posted Hide Post
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
 
Posts: 39 | Registered: January 26, 2004Report This Post
Guru
posted Hide Post
This works for me.
-SET &MYDAY = DOWK(&YYMD,'A4');
-TYPE &MYDAY
 
Posts: 252 | Location: USA | Registered: April 15, 2003Report This Post
Gold member
posted Hide Post
Thanks, Guys!
'A4' is what I am missing and it worked great now!
Thanks again!
 
Posts: 71 | Registered: May 23, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders