AS/400

195 pts.
Tags:
RPG
RPG debugging
RPG/400
STRISDB
Hi, Can you tell me how to debug the program with RPG/400.(through STRISDB).Means can you tell me clearly stp by step.

Answer Wiki

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

Hi,

If you use STRISDB there is plenty of help text to explain what the features are – just press help or F1 and you should be able to find what you need. How you debug your program is very much dependent on the what the program does and how it is written.

Regards,

Martin Gilbert.

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
  • graybeard52
    The newer version is STRDBG. When used with an old version of RPG simple set parm OPMSRC(*YES) Press HELP key for options.
    3,115 pointsBadges:
    report
  • TomLiotta
    STRISDB has been effectively obsolete for a decade. There is little familiarity with STRISDB any more. Use STRDBG with OPMSRC(*YES) specified. To start, run the STRDBG command giving the name of the program to be debugged along with OPMSRC(*YES). If the program can be debugged, the program source will be displayed. Search through the source to find and set any breakpoints that you want available at first. Then pres <F12> to exit out of the debug command. Run whatever is needed to get your program to run. When any instruction at a breakpoint is reached, the debug display will automatically open for you. You can then do any debug actions such as stepping through the statements and displaying variables. When finished, press <F12> to allow the program to complete. Then run ENDDBG to close the debug session. Tom
    125,585 pointsBadges:
    report
  • Stiloabarthian
    You will have to compile the program with OPTION(*SRCDBG) to use STRDBG.
    175 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