Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Go
New
Search
Notify
Tools
Reply
  
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, 2004Reply With QuoteReport 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, 2004Reply With QuoteReport This Post
Guru
posted Hide Post
This works for me.
-SET &MYDAY = DOWK(&YYMD,'A4');
-TYPE &MYDAY
 
Posts: 252 | Location: USA | Registered: April 15, 2003Reply With QuoteReport 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, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 


Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.