Hi Richard,

this was code that I obtained from Tim McCarthy when he was at Trailblazer
systems ca. 1996. I've never debugged an MI program before. Any tips on
how to do this?

Also if anyone knows if the number of job tables is now more than 30 that
might be a clue.

Thanks!
-Paul

On Mon, May 12, 2008 at 6:59 PM, Rich Hart <richhart@xxxxxxx> wrote:


Hi Paul,

I was able to get your program to compile, but of course it abended when
it
tried to access the WCB-ROOT (Storage Protection Violation).
I don't mess with running System State! That's as far as I can take it.

I understand the process to access the Work Control Block tables' entries,
but I don't know where you got the offsets for the various Data Area
structures (LDA, GDA, PDA). Is that in Leif's book?

I would think if you debugged it, watching the THE-TABLE variable and
seeing
if it passes thirty, that would perhaps narrow the problem down.

Interesting. Don't see why it wouldn't work. That's for better heads
than
mine!

Regards

Rich Hart

_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.



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