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.
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
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.
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.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: 4  Replies
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