Debugging a CLP Program

1420 pts.
Tags:
AS/400
CLP
Hi all, I have a CLP Program which have a call to another CLP Program and an RPG Program. now i want to debug all these from end to end. How should i proceed.

Software/Hardware used:
AS400, RPG,CLLE,

Answer Wiki

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

You put the initial program in DEBUG and then step through the program. When you get to another program that gets called, you do a Step into (F22). You can set breakpoints in all the individual programs.

Discuss This Question: 4  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
  • philpl1jb
    You can also use F14 to add the other programs and 5 to display each code and put break points in each.
    49,960 pointsBadges:
    report
  • TomLiotta
    We need to know more. The first things we need to know is if the programs are OPM (e.g., CLP) or ILE. Then we need to know what debug options were specified when the programs were compiled. -- Tom
    125,585 pointsBadges:
    report
  • MDratwa
    If you compiled the CL pgms using the "Source listing option" "*lstdbg".  When you debug this CL, it will go statement by statement.  Use "F14" to add break points into the other module/programs (and within this pgm) this CL calls.  This makes it easy to step thru and check out the variable(s) value with the pgm. 
    785 pointsBadges:
    report
  • TomLiotta

    If you compiled the CL pgms using the “Source listing option” “*lstdbg”.

    That could work if the much older OPM compiler was used, but that compiler has been practically obsolete for almost 20 years and really shouldn't be used in any recent OS release (version 4 and later). There are a couple reasons to use it for some old applications.

    Tom

    125,585 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