Decimal Data Error in V5R4

65 pts.
Tags:
Decimal Data Error
Free Format
Free Format RPG
iseries v5r4
How can we see Decimal Data Error just by looking the code.Without compiling?(V5R4-I'm using Free Format coding)

Software/Hardware used:
Software

Answer Wiki

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

The Decimal Data error will occur when you run the program.
At that point you will get the information as to where in the program it failed and what field was invalid.
It is not a programming issue, it is a data issue.

Discuss This Question: 5  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
    How can we see Decimal Data Error just by looking the code. You can't. The decimal data error is in the data, not the program source code. Of course, it is easily possible for program instructions to cause a decimal-data error. For example, you could overlay the definition of a character variable with a packed-decimal variable and try to use characters as packed values or some similar unusual sequence of instructions. But even then it will be the data that will show the problem since character variables can hold valid packed data. Tom
    125,585 pointsBadges:
    report
  • Pankaj1122
    Thanks allot Charlie & Tom for your help.I got my answer
    65 pointsBadges:
    report
  • Pankaj1122
    [...] 3. CharlieBrowne and TomLiotta give some help, this time to a member wondering about a decimal data error in V5R4. [...]
    0 pointsBadges:
    report
  • Pankaj1122
    [...] 9. CharlieBrowne and TomLiotta give some help, this time to a member wondering about a decimal data error in V5R4. [...]
    0 pointsBadges:
    report
  • Pankaj1122
    [...] CharlieBrowne and TomLiotta give some help, this time to a member wondering about a┬ádecimal data error in V5R4. .topsy_widget_shortcode,div.topsy-sm {display:inline;} .post {padding-left: 10px;}   [...]
    0 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