witcharat
22nd June 2008, 13:52
Dear All
I have problem about overflow which it have cause from i customize session for auto print report but it have error message after printed 99 times.
error message :
1 : process 482 - warning : Overflow : format = '99' value = '100'

sample script:

spool.open("", spool.device, 0)
reportnr = brp.open(spool.report, spool.device, 0)
duplicate_rep = brp.open("rtisfc020290003", spool.device, 0)
afterchoice()
brp.close(reportnr)
spool.close()

nad i have check application log that it have message :

Env Baan (f:\baan)
Prog bshell file \logic\mir\mir\mat_fun.c # 104
Keyword ttstpsplclose
Username ukrit type S language 2
Process 0x136cc
Lasterror 0
Errno 0
bdberrno 0
Message Overflow: format='99' value='13126'

Anyone can solved or have experience in this case

Thank in advance.
Wit.

bdittmar
22nd June 2008, 14:14
Dear All
I have problem about overflow which it have cause from i customize session for auto print report but it have error message after printed 99 times.
error message :
1 : process 482 - warning : Overflow : format = '99' value = '100'

sample script:

spool.open("", spool.device, 0)
reportnr = brp.open(spool.report, spool.device, 0)
duplicate_rep = brp.open("rtisfc020290003", spool.device, 0)
afterchoice()
brp.close(reportnr)
spool.close()

nad i have check application log that it have message :

Env Baan (f:\baan)
Prog bshell file \logic\mir\mir\mat_fun.c # 104
Keyword ttstpsplclose
Username ukrit type S language 2
Process 0x136cc
Lasterror 0
Errno 0
bdberrno 0
Message Overflow: format='99' value='13126'

Anyone can solved or have experience in this case

Thank in advance.
Wit.

Hello,

extend the field to 99999.
Reason: the field is defined as 2 numeric and the value is greater than 99.

Regards

witcharat
22nd June 2008, 14:32
I have to check the variable on this session by i run session exclude function print which it can run over 100 loop, So i thiank it hvae case from print auto over 99 times and it have error from function "ttstpsplclose" and i'm try to solve it bu add function spool.close but it can't solve.

Thank you for your help.

mark_h
22nd June 2008, 21:54
Okay - it sounds like you are opening the report more than 99 times - is that correct? Or is it that a value on the report is overflowing? Bdittmar addressed that option. Can you post the actual code? It almost sounds like the spool.close and brp.close are not getting executed.