LeonelSanchezJr
Programmer
I have the following code which provides me with a
report begin date and it works for one file which has a
date field in the format of YYMD.
However, the second file has the date field defined as
I11 and the data looks like this 20070215 for instance.
So, I need to take the code below for the -SET command for the &RPT_BEG_DATE2 and create a &RPT_BEG_DATE3 but instead
make the end result an integer so that I can query the table with a field of I11 with date values.
-DEFAULT &RPTDATE=&YYMD.EVAL;
-SET &RPT_BEG_DATE2 = EDIT(&RPT_BEG_DATE, '$$$$$$9999') | EDIT(&RPT_BEG_DATE, '99$$$$$$$$') | EDIT(&RPT_BEG_DATE, '$$$99$$$$$') ;
I am using WebFOCUS Developer Studio Version 714.
Thanks!
Thanks,
Leo ;-)
report begin date and it works for one file which has a
date field in the format of YYMD.
However, the second file has the date field defined as
I11 and the data looks like this 20070215 for instance.
So, I need to take the code below for the -SET command for the &RPT_BEG_DATE2 and create a &RPT_BEG_DATE3 but instead
make the end result an integer so that I can query the table with a field of I11 with date values.
-DEFAULT &RPTDATE=&YYMD.EVAL;
-SET &RPT_BEG_DATE2 = EDIT(&RPT_BEG_DATE, '$$$$$$9999') | EDIT(&RPT_BEG_DATE, '99$$$$$$$$') | EDIT(&RPT_BEG_DATE, '$$$99$$$$$') ;
I am using WebFOCUS Developer Studio Version 714.
Thanks!
Thanks,
Leo ;-)