Focal Point
[CLOSED] Is that possible to change “IBIF_max_messages” limit to one Procedure?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8097034766

February 21, 2014, 11:47 AM
RaviD
[CLOSED] Is that possible to change “IBIF_max_messages” limit to one Procedure?
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
February 23, 2014, 05:13 PM
Waz
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!

February 24, 2014, 11:36 AM
Ram Prasad E
Set IBIF_Max_messages to 0 ( no limit)
Also try SETMSG=OFF

Thanks,
Ram


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/
February 24, 2014, 11:38 AM
Ram Prasad E
This might help you.

http://documentation.informati.../source/topic101.htm

Thanks,
Ram


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/
February 24, 2014, 03:26 PM
Waz
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!

February 24, 2014, 05:34 PM
Tony A
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 
February 25, 2014, 03:30 AM
Ram Prasad E
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,


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/
February 25, 2014, 11:21 AM
Wep5622
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:

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 :