|
Rick DuVall wrote on 02/11/2006 10:21:46 AM:
Actually, I don't think that is true, I am almost certain I have captured a running batch job with the sep debug functions in Lpex. In
fact,
I just did it.. 1. get a list of program objects in the RSE including the one you want
to
debug. 2. strdbgsvr on the iSeries command line (there are other ways to do
this)
3. right click chosen program object and choose (Debug (Service Entry
Point)
And Set Sep. 4. if you are not the actual user running the batch job look in the
iSeries
Service Entry Points list at the bottom and Highlight and modify the sep
to
have the correct user id. 5. wait for the rse to change to debug mode and display the source... Ymmv - have fun...
Thanks for correcting me on that Rick. I didn't know one could do that - sweet! I think I was confused with this scenario: Xuan Chen wrote:
Just want to make sure the sequence: You recompiled the program, then you ran program then you refreshed the SEP, but you did not stop your program, and run it again? If that is the case, the SEP may not be hit, since the entry point with
SEP set may not be hit any more.
After you refresh your SEP, you need to restart your program.
Thanks again - can't wait to try this out! Adam ##################################################################################### Attention: The above message and/or attachment(s) is private and confidential and is intended only for the people for which it is addressed. If you are not named in the address fields, ignore the contents and delete all the material. Thank you. Have a nice day. For more information on email virus scanning, security and content management, please contact administrator@xxxxxxxxxxxx #####################################################################################
As an Amazon Associate we earn from qualifying purchases.
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.