Debugging a RPG program

255 pts.
Tags:
RPG
RPG Program
Is there any way to store a variable value in file while the program is in debug? what i means is, I have a data structure of size 32766, while debugging the program ,the dippaly variable only display limited size of the data structure, but I want the total data of the variable......

Answer Wiki

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

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
  • TomLiotta
    the dippaly variable only display limited size of the data structure, but i want the total data of the variable...   If you want the total area, then ask for the total area. Who told you that you couldn't display all of your variable?   Tom
    125,585 pointsBadges:
    report
  • CharlieBrowne
    Store a variable in a file? Do you mean change a variable in a program?
    41,370 pointsBadges:
    report
  • ToddN2000
    If you cannot get it to display all the positions in the debug session there is one other way. Place "DUMP" in the opcode in your code just where you want to see it's contents. Then check the spool file for the total data structure value.
    8,925 pointsBadges:
    report
  • TomLiotta
    The problem is simply that the debug EVAL command defaults to a maximum variable display length of 1024 bytes. The solution is simply not to use the default; specify the desired length on the EVAL command. And if the way to do that isn't known, you find out by using [help] for EVAL or by looking at documentation. Learning to use [help] is the solution for so many problems that it needs to be told over and over. -- 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