Answer Wiki

First, specify TGTRLS(V5R3M0). That will work whether you compile on Server 1 in order to run on Server 2, or you compile in the opposite direction.

Next is a little more difficult to know because you haven’t told us which “RPG” it is. Is this RPG III or RPG IV? (RPG II?)

In order to debug, you have to specify appropriate options, but the options are different for different compilers.

For RPG IV, I would specify DBGVIEW(*ALL) but DBGVIEW(*LISTING) would be good enough for you.

For RPG III, you should probably specify OPTION(*SRCDBG *LSTDBG) or at least OPTION(*LSTDBG).

Neither DBGVIEW(*SOURCE) nor OPTION(*SRCDBG) will do you any good unless you transfer the source file along with the compiled program. It doesn’t matter if a compiler exists on the other server. But you don’t need source for debugging. The listing view almost always works better for me anyway.

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

Processing your response...

Discuss This Question: 2 &nbspReplies

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

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

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

Processing your reply...

Ask a Question

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!

Share this item with your network:

To follow this tag...

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