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     [CLOSED] Is that possible to change “IBIF_max_messages” limit to one Procedure?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Is that possible to change “IBIF_max_messages” limit to one Procedure?
 Login/Join
 
Gold member
posted
All,

Is that possible to change “IBIF_max_messages” limit to one particular Procedure or turn off the FOCRRR messages in the report?
I have an issue here: I have a procedure that will insert up to 30,000 rows to a Oracle database. But after every row insert the message was generating like follow. Right now we have set IBIF_max_messages -50000, since the following message coming after every row and once it reaches to 50, 000, and then server was generating an error. How we can turn off the FOCERR messages?
Reporting Server messages exceeded IBIF_max_messages, report retrieval aborted.
0 NUMBER OF RECORDS IN TABLE= 1 LINES= 1
(FOC1364) ROWS AFFECTED BY PASSTHRU COMMAND : 1/INSERT
(FOC1364) ROWS AFFECTED BY PASSTHRU COMMAND : 1/INSERT
(FOC1364) ROWS AFFECTED BY PASSTHRU COMMAND : 1/INSERT

Thanks in advance.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFocus 8202M
APP Studio
Info assist
Report caster
Portals
Maintain
EXcel,PDF,HTML,Active Reports
 
Posts: 82 | Location: MD | Registered: May 14, 2010Report This Post
Expert
posted Hide Post
Have you thought about turning ECHO OFF or MSG OFF ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Master
posted Hide Post
Set IBIF_Max_messages to 0 ( no limit)
Also try SETMSG=OFF

Thanks,
Ram
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Master
posted Hide Post
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Expert
posted Hide Post
I would suggest not setting max messages to 0 as it would allow massive results to be returned to the browser.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
Chalk one up to experience over knowledge Wink

We just need to be aware that there are several settings that can provide a quick fix but they are not always the best to suggest to rookies.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Master
posted Hide Post
I agree to Waz and Tony, as Set IBIF_Max_messages to 0 should be used only for debug purpose.

Are you using direct INSERT statement or Stored procedure?
If its direct INSERT statements, then try calling a stored procedure and INSERT records from SP. Hope this will work.

Thanks,
Ram

This message has been edited. Last edited by: Ram Prasad E,
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Virtuoso
posted Hide Post
With databases, the general preference for doing inserts like that seems to be to bulk-load them instead of inserting every single record separately. In general that performs better too.

So if you prepare your records into a file or statement with that intent, I'd suggest doing one of these:

  • ISTR that Oracle does have a bulk-load feature.
  • If you use plain SQL, you can insert multiple records in one INSERT statement. For example:
    -- Not available before Oracle 11 I think
    INSERT INTO table (field1, field2, field3) VALUES (1, 'A', 'foo'), (2, 'B', 'bar'), (3, 'C', 'baz');
    -- or in earlier versions
    INSERT INTO table (field1, field2, field3) SELECT 1, 'A', 'foo' FROM dual UNION SELECT 2, 'B', 'bar' FROM dual UNION SELECT 3, 'C', 'baz' FROM dual;

  • You could create your insert statements as an SQL file and send that to your database directly.


I realize this merely prevents your problem with IBIF_MAX_MESSAGES from happening instead of solving it and I agree that it would be useful to have a report-scope tunable for that.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report 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     [CLOSED] Is that possible to change “IBIF_max_messages” limit to one Procedure?

Copyright © 1996-2020 Information Builders