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.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I am executing a report using webfocus. the fex, checks to see if the month is FEB and the year is a leap year...to set the number of days in the drill down to 28/29 resp.
it then makes a variable called: &DRILL_ENDDATE which has the YYYYMMDD format. for this date.
I checked this variable....and it has the value of 20050228.
later on, while it builds the report in a excel file, the report has a column for serial number...which has links calling another fex.
there is no mention of the &DRILL_ENDDATE between this line and the line in which it is set. however, on running the report... the excel file link shows t_rng=20050229
I think the best bet would be to verify your code and make sure its 20050228 right before you use it... Based on what you said... perhaps make sure when your checking to see if its 28 or 29 that its not incorrectly giving 29. Its tough without seeing the code, but it could either be the logic used to assign it to 29 or your using the same variable name somewhere else without realizing it. If your sure it gives the correct answer, change the name of the variable to ensure its not being used anywhere else.
If you want and easy way to get the end of a month try using the following code:
-SET &DT = 20040201; -SET &END_YYMD = DATECVT((DATEMOV((DATECVT(&DT,'I8YYMD','YYMD')),'EOM')),'YYMD','I8YYMD'); -TYPE &END_YYMD The function DATEMOV is what does the trick.This message has been edited. Last edited by: <Mabel>,
Posts: 406 | Location: Canada | Registered: May 31, 2004