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 finding that a program which reads a Focus database and which contains dates with a format of A8 has quit selecting records properly when based on a date range. This database contains only 2008 and 2009 dates. I believe this is happening because of a '-INCLUDE' program change. The -include program does date calculations using DATEADD, DATEMOV and is where the dates used to select records come from.
If I add YRTHRESH AND DEFCENT to the program, the date selection works properly. My question is this...is it dangerous to use yrthresh and defcent at any time? In other words, I don't really see why I need these values set here and I'm wondering if perhaps this is NOT the real answer to fixing the program, even though it allows the program to work.
I'm also wondering if maybe I should be using YRTHRESH and DEFCENT in the -INCLUDE program itself, making it unnecessary in my main program...but I have MANY other programs that also -include this same program, which are running fine. What might happen to them if I add the yrthresh and defcent to the program being -included IF they don't need it?This message has been edited. Last edited by: LaVonne,
WF/7.1, Windows NT, PDF/EXCEL
Posts: 13 | Location: Detroit | Registered: October 26, 2006
Yes, imho, it is dangerous to do so. The YRTHRESH and DEFCENT should be set at a systems level. If you were to include the setting of these in a specific program (-INCLUDEd or MAIN) then some programs will act differently then others to to, potentially, different settings for YRTHRESH and DEFCENT.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
Oops! Sorry about the confusing answer. It's obvious that I didn't even check my server for the right file name ... for some reason I had cgivars.cfg in my head and that ".cfg" piece got stuck to my head