Thank you - nice to have at hand!

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: Thursday, September 04, 2014 6:49 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Could use some assistance with a debug in Batch w/dataq

+1

I use SEPs in GrScr debugging a lot, and I had put a "18 easy steps"
post in these lists some time ago - it's now in the wiki on this page -

http://wiki.midrange.com/index.php/Debugging_ILE_program_in_batch

along some other ILE debugging stuff.

On 9/3/2014 9:01 PM, Scott Klement wrote:
Or even if you don't have RDi available, using a service entry point
(SEP) might help you out here.

Even in the green-screen STRDBG, you can use a SEP. It's much more
clumsy/cumbersome than doing a SEP via RDi, but if RDi isn't
available, it's still an easy way to make sure you find the right
STRSRVJOB to run.

As for why the STRSRVJOB isn't working -- my guess is that the program
is just never hitting the breakpoint that was set. i.e., it's not
doing what you expect :-)



On 9/3/2014 10:01 AM, David Gibbs wrote:
On 9/3/2014 8:44 AM, RPGLIST wrote:
The problem is I need to run it in debug to check some values that
are calculated during run time, but even using STRSRVJOB doesn't
seem to be working.

If you have RDi available, I would suggest using a service entry
point debug.

david


--
This is the RPG programming on the IBM i (AS/400 and iSeries) (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.