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



Hi Rory

That sounds cool, likely works really well when you know the job you are debugging - whereas SEP breakpoints - set using SBREAK in a debug session - help when you don't know the job.

Your program could be useful in the secondary job where one has to STRSRVJOB and STRDBG with information that is displayed when a breakpoint is reached.

Vern

On 9/4/2014 10:45 AM, Rory Hewitt wrote:
I ended up creating a command and CL program called STRSRVDBG (Start
Service Debug) - it's a combination of STRSRVJOB and STRDBG, but allowing
job/program selection. I will dig out the source if anyone wants it, but
it's pretty easy to write your own, and *very* useful if you need to do
lots of green screen batch program debugging...


On Thu, Sep 4, 2014 at 6:04 AM, RPG List <rpglist@xxxxxxxxxxx> wrote:

Thanks Scott and everyone.

I used the sep in green for now and it was due to the program compile
issue.

Sorry to be so stupid last night :)

Sent from my iPhone

On Sep 3, 2014, at 9:01 PM, Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
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.

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