Gary,

I think we'd need to see the code to give you more intelligent advice.

-mark

At 8/30/09 11:34 PM, you wrote:
Thanks for the reply...

On 30 Aug 2009 at 22:10, Jim (Jim Franz <midrange-l@xxxxxxxxxxxx>) commented
about Re: Runs fine in Debug mode:

> Is this RPG or RPGLE? Input primary or IF?
RPGLE
Input primary

> SQLRPGLE?
No

> OVRDBF?
None

> Are you using QTEMP?
No

> What makes you sure it's not reading the "not printed"?
It is reading the file just fine because it writes every record just fine.
It just doesn't print every record.
Every time it runs it skips printing the same records.

Gary

> Jim
>
> ----- Original Message -----
> From: "Gary Kuznitz " <docfxit@xxxxxxxxxxxx>
> To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
> Sent: Sunday, August 30, 2009 9:18 PM
> Subject: Runs fine in Debug mode
>
>
> >I have a program that I can't figure out. It runs fine in debug mode when
> >I am
> > steeping through the program. When I run it without debug it skips
> > printing some of
> > the records. I'm running it interactivly on the same screen both in and
> > out of debug.
> > Since it's on the same screen it runs with the same user and the same
> > library list.
> > It's printing record 1 & 2 then it skips to record 8 it skips record 9 and
> > prints record
> > 10,11, 12, skips 13 & 14 and prints record 15.
> >
> > It's a simple program that reads one file sequencialy, writes one file and
> > prints a
> > report. The file it's writing is processing every record just fine.
> >
> > I don't understand how it can skip some of the records when it's not in
> > debug mode
> > and process all the records when it is.
> >
> > Any ideas?
> >
> > Thanks,
> >
> > Gary Kuznitz


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.