AS400 Debuging two programs

1380 pts.
Tags:
AS400 RPGLE Debug
I have pgmA which calls pgmB.

I need to get into debug in pgmA and change some field values(force the correct response) to continue to my call to pgmB. Then I need to be in debug in pgmB to find an issue.

Is there a way to debug two programs with the same interactive session? Both are plain ole RPGLE.

Thanks, Nick

Answer Wiki

Thanks. We'll let you know when a new response is added.

I guess, The Call to PgmB is happening from PgmA.

In this case, You can proceed in the following way.
You can Keep the PgmA in Debug mode and can start with Debugging.
You can use Function key ‘F22(Shift+F10)’ at ‘Call PgmB’ statement for navigating to PgmB in Debug mode.

Pradeep.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    The STRDBG command accepts a list for the PGM() parameter. Is there a specific problem you run into? Tom
    125,585 pointsBadges:
    report
  • NickHutcheson1
    F22 got me where I needed to be. Call me a user by not reading the screen and all of the functions available. Tom, I use a user defined code to STRDBG PGM(&L/&N) UPDPROD(*YES), so again, just using what I needed instead of looking around. Thanks guys, Nick
    1,380 pointsBadges:
    report
  • NickHutcheson1
    [...] NickHutcheson1 is trying to debug two programs, and Deepu9321 offers the right [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following