AS400 – Data Structure

1215 pts.
Tags:
AS/400 Data File
I have declared one Data Structure in RPGLE Program with length 5000. I wanted see Value of Entire Data Structure While Debugging the Program. Can you help me to see Entire Length of DS.

Software/Hardware used:
AS400

Answer Wiki

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

Try this:
EVal Field :c number_of_bytes

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
  • rajeshece
    I tried Eval FieldNam : Length (2000) , Eval FieldNam Length(2000). I am getting Syntax Error
    1,215 pointsBadges:
    report
  • Stiloabarthian
    You need a c after the colon as per Teandy's answer.
    175 pointsBadges:
    report
  • TomLiotta
    The "{colon}c" tells debug to display as "characters". You could also do:
    EVal Field:x number_of_bytes
    ...to see that number_of_bytes in hex. If you don't put some number_of_bytes (e.g., 2000) into the EVAL, the default maximum is something like 1024. To see more than the default, you have to ask for it. The <help> text has examples. 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