× 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.



Thank you for the reply...

On 31 Aug 2009 at 0:00, M. (M. Lazarus <midrange-l@xxxxxxxxxxxx>) commented
about Re: Runs fine in Debug mode:

Gary,

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

I'm happy to show the code to anyone. How would you like to see it?
If you like you can see it at: http://tinypaste.com/31479
Or if you suggest a more convient way let me know.

Thank you,

Gary

-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

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




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.