× 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...
It's really great of you to look at it for me.

On 31 Aug 2009 at 11:04, Vinay (Vinay Gavankar <midrange-l@xxxxxxxxxxxx>)
commented about Re: Runs fine in Debug mode:

Is the program UUPGXFR in subroutine AgeAtHireS writing the history record?
yes it is.

If so, then the second call to the subroutine PRINT, will not get executed
when UUPGXFR is called, as *IN35 will be ON.
This is where the problem turned out to be. It's not really the second call because 35
does get turned off. It's when ever 35 was on. For some crazy reason I couldn't see
that.

What is AIAICD? After the SETLL, If %EQUAL then PRINT will be executed after
call to UUPGXFR, Else no call to PRINT as *IN35 will be on.

That's really great of you to look at it for me. I guess I needed another pair of eyes.
It seemes so silly that I couldn't find that before. I guess I was looking for
something serious when it ran differently with the debugger on.

Thanks,

Gary


On 8/30/09, Gary Kuznitz <docfxit@xxxxxxxxxxxx> wrote:

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.


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

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.