× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Pete,
This kind of thing can happen very easily in BPCS. For some reason they
do not handle unexpected data very well. When amounts and quantities get
very high strange things can happen and many errors like this will pop up.
Don't be afraid to contact the BPCS list for any questions you have.
There are lots of great people with a ton of domain knowledge that will
help you figure things out quickly. Which program was blowing up??


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777



Pete Helgren <pete@xxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
09/29/2010 03:02 PM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>


To
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Re: Reading an RPG dump






Thanks for that tip. I shoulda tried that but I was being a little
paranoid.

I'll try to remember that.

Pete Helgren
Value Added Software, Inc
www.valadd.com
www.opensource4i.com


On 9/29/2010 12:37 PM, Christen, Duane wrote:
Pete

FYI, if the production version of the program was compiled with enough
debug information you can always strdbg on the program and, without
running the program, find the line number in the listing view. If the
program doesn't have enough debug information that's when you can compile
the module/program into QTEMP (or wherever) and look at the generated
listing to find the line number.

Duane Christen


--


Duane Christen
Senior Software Engineer
(319) 790-7162
Duane.Christen@xxxxxxxxxx

Visit PAETEC.COM


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Pete Helgren
Sent: Wednesday, September 29, 2010 1:25 PM
To: RPG programming on the IBM i / System i
Subject: Re: Reading an RPG dump

As an additional follow up.

I was able to compile the program and was just about to fire off a debug
session when the Controller came in an asked about a report that wasn't
running each night. I told him that I was trying to run it down and it
appeared that it was a calculation that resulted in a value too large for
the report field to hold. The "light bulb" went off in his head and he
came back with a printout of warehouse item that was $18 billion. (a
little too big...)

So, it was a data item (as I suspected) and I am pretty sure, now that I
have compiled the source and looked at the numbering, I know where the
error can occur.

Pete Helgren
Value Added Software, Inc
www.valadd.com
www.opensource4i.com


On 9/29/2010 11:35 AM, Pete Helgren wrote:
Ok. Great suggestions all. First I am reluctant to run the
program because I do not know enough about what it will impact since I
am not familiar with the program and function. Yes, I could run it in
debugt but since I am a consultant I'd hate to make this my last day
by running something that causes downstream problems. I guess I could
try to compile. The only thing that may come back to haunt me is that
I don't know if there is a "tool" I need to use to compile the source
in BPCS.

I was hoping that I could figure out the issue, which I am certain is
a data issue (although the program should anticipate the possible data
issue) without running the program but I'll see if I can compile it
and get it to run in debug. No easy way out I guess.

Thanks for all the suggestions.

Pete Helgren
Value Added Software, Inc
www.valadd.com
www.opensource4i.com


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.