Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Question about WebFOCUS Error Messages

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Question about WebFOCUS Error Messages
 Login/Join
 
<matty@time>
posted
This is a two part question:

1. Is there away to test for the number of Across Values a request is bringing back before you get the FOC031 error - kind of like &LINES, where you can test for the number of rows and then either return your own error message or continue with the rest of the request.

2. If not, is there a way to hack the fot004.err file and write your own error message for this situation (MAXIMUM NUMBER OF 'ACROSS' VALUES HAS BEEN EXCEEDED) I would like to NOT get the white screen of death and rather return an in house message complete with instructions on how to avoid this issue. Can I put a -INCLUDE in the fot004.err file? Has anyone ever tried this?

FYI - this is a self-service application, we have much front end verification to avoid what we know are huge acrosses, but we still get a few that slip past.

Thanks,
Matthew
 
Report This Post
<Claudia Holanda>
posted
1. Not really. The only thing I can think of is to TABLE FILE fn WRITE CNT.DST.acrossfield ON TABLE SAVE END -RUN -READ SAVE &DST.A6. -IF &DST GT 95 GOTO ERR

2. Since fot004.err is a plain text file, you may theoretically edit and change it, but you may not like the results. For one thing, err files are read by fixed offsets. Each message is one line, followed by four lines of explanation. If you change the explanation for FOC031 to something that is longer than 4 lines, all subsequent error messages will be displayed incorrectly. Another thing, any time you apply a service pack, your custom fot004.err will be replaced by the current standard one.

Could you modify the application to test &FOCERRNUM and issue a custom message IF &FOCERRNUM EQ 31?

Best regards,
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Question about WebFOCUS Error Messages

Copyright © 1996-2020 Information Builders