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.
Hello all. I'm trying to prevent the report from running if I selected an invalid holiday file (file that isn't found). Otherwise, the report will run 'normally', but all the business day calculations will be wrong.
So I have: SET HDAY = &myHolidayFile
Is there a way to detect the error and abort the report if the holiday file name isn't found? ((FOC1892) FILE NOT FOUND error). Thanks in advance.
and i would offer this way, if you're on a windows box FILEDEF HOLIDAY DISK D:\IBI\APPS\FHOLIDAY.FTM (or .txt or whatever) CMD STATE D:\IBI\APPS\FHOLIDAY.FTM -RUN -IF &RETCODE EQ 0 GOTO process ; -* the return code is 0 when ok, not zero (-1 i think) when it fails, ie files doesn't exist -TYPE HOLIDAY FILE ISN'T THERE FOLKS. -GOTO EOJ ; -process TABLE FILE HOLIDAY...etc
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Thank you all for replying. Yup, I was puzzled myself when FOCERRNUM was staying at 0. And unfortunately, we're running this on a unix box. However, j.g.'s approach worked for me. So it looks like: - ? SET varName &XYZ
pumps the value of varName into a new variable, &XYZ. Very cool. Thanks.