|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Gold member |
I need today's date in Alpha form. I am using the below function but its returning 04/11/2007. I want April, 11, 2007. Any ideas?
And it has to be alphanumeric! DATE/A12=TODAY(DATE); tbj Tracie Prod WF 7.6,Test WF 7.6, XP Platform, Oracle 10g |
||
|
|
Master |
Tracie,
-SET &TODAY_DT = DATETRAN(DATECVT(&YYMD, 'I8YYMD', 'DMYY'), '(MDYY)', '(trD)', 'EN', 20, 'A20') ; For a DEFINE TODAY_DT/A20 = DATETRAN(DATECVT(&YYMD, 'I8YYMD', 'DMYY'), '(MDYY)', '(trD)', 'EN', 20, 'A20') ; This message has been edited. Last edited by: Tom Flynn, Tom Flynn WebFOCUS 5.2.2 thru 7.6.x Windows, Unix, MVS |
|||
|
|
Gold member |
0 ERROR AT OR NEAR LINE 6 IN PROCEDURE mrheaderFOCEXEC *
(FOC295) A VALUE IS MISSING FOR: &TODAY_DT Tracie Prod WF 7.6,Test WF 7.6, XP Platform, Oracle 10g |
|||
|
|
Master |
Tracie,
Make sure there is a comma after &YYMD, I copied incorrectly... Tom Flynn WebFOCUS 5.2.2 thru 7.6.x Windows, Unix, MVS |
|||
|
|
Gold member |
I do have the comma.
Tracie Prod WF 7.6,Test WF 7.6, XP Platform, Oracle 10g |
|||
|
|
Master |
Tracie,
This works fine here at UNCG. I just ran it. Paste your fex in and I will BOLD the code. -SET &TODAY_DT = DATETRAN(DATECVT(20070411, 'I8YYMD', 'DMYY'), '(MDYY)', '(trD)', 'EN', 20, 'A20') ; -TYPE April 11, 2007 April 11, 2007 -EXIT Tom Flynn WebFOCUS 5.2.2 thru 7.6.x Windows, Unix, MVS |
|||
|
|
Gold member |
Tracie Prod WF 7.6,Test WF 7.6, XP Platform, Oracle 10g |
|||
|
|
Master |
Tracie,
I know you know, that I know, that you know, etc... -SET PAGE=NOLEAD s/b SET PAGE=NOLEAD Not a Dialogue Manager command, take the dash out, and, all is well... Also, down in your last DEFINE: TODAY_DT/A20 = DATETRAN(DATECVT(&YYMD, 'I8YYMD', 'DMYY'), '(MDYY)', '(trD)', 'EN', 20, 'A20') ; Tom Tom Flynn WebFOCUS 5.2.2 thru 7.6.x Windows, Unix, MVS |
|||
|
|
Gold member |
Its asking me to input the YYMM. I don't want to do that
I am across the way at A&T by the way! tbj Tracie Prod WF 7.6,Test WF 7.6, XP Platform, Oracle 10g |
|||
|
|
Master |
Very good, with Greensboro in your signature, I thought you were here...
I started consulting last year @ UNCG and they have called me back for Banner HR conversion. Lots of fun!!! Tom Flynn WebFOCUS 5.2.2 thru 7.6.x Windows, Unix, MVS |
|||
|
|
Master |
Tracie,
&YYMD not &YYMM... Tom Flynn WebFOCUS 5.2.2 thru 7.6.x Windows, Unix, MVS |
|||
|
|
Gold member |
It finally worked....Thanks again! Boooo Spartans!
Tracie Prod WF 7.6,Test WF 7.6, XP Platform, Oracle 10g |
|||
|
|
Master |
BaddaBing!!!
BTW, I'm not a Spartan fan, my family has had season tickets, since 1933, on the 48 yrad-line of another college that I attended. Last year, I had the Michigan game(UGH!!), this year Boston College: Rally sons of Notre Dame: Sing her glory and sound her fame, Raise her Gold and Blue And cheer with voices true: Rah, rah, for Notre Dame We will fight in ev-ry game, Strong of heart and true to her name We will ne'er forget her And will cheer her ever Loyal to Notre Dame Cheer, cheer for old Notre Dame, Wake up the echoes cheering her name, Send a volley cheer on high, Shake down the thunder from the sky. What though the odds be great or small Old Notre Dame will win over all, While her loyal sons are marching Onward to victory. Go IRISH!!! Go Charlie!!! Tom Flynn WebFOCUS 5.2.2 thru 7.6.x Windows, Unix, MVS |
|||
|
|
Gold member |
Well atleast you have the colors right! Blue and Gold! Go Aggies!
Tracie Prod WF 7.6,Test WF 7.6, XP Platform, Oracle 10g |
|||
|
|
Master |
Tracie,
Much simpler; DATE/A20='&DATEMtrDYY'; |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

