Is there a way to get the CHGDAT function to work in DM? I am using WebFocus v4.3.6. When I try the following syntax, I don't get the anticipated output....
-TYPE current date: &DATEYYMD
-SET &FMT_DT = CHGDAT('YYMD', 'DMYYT', &DATEYYMD, 'A17');
-TYPE formatted date: { &FMT_DT }
gives me...
current date: 2004/04/20
formatted date: { }
&FMT_DT is blank.
Any help is appreciated!
-TYPE current date: &DATEYYMD
-SET &FMT_DT = CHGDAT('YYMD', 'DMYYT', &DATEYYMD, 'A17');
-TYPE formatted date: { &FMT_DT }
gives me...
current date: 2004/04/20
formatted date: { }
&FMT_DT is blank.
Any help is appreciated!