RPG Status Error 00222: A character representation of a numeric value is in error

Tags:
RPG
RPG Error Messages
We have an application that frequently ab-ends because of RPG status error 00222 that states (in part) "...a character representation of a numeric value is in error...". We have scoured program listings and dumps trying to find the field(s) causing the error, but cannot find the smoking gun. Does anyone know how we can find the cause of these errors?

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: 2  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
  • philpl1jb

    If you request a dump it will tell you the line in error. 

    If this is an SQL command then look in the SQL.... part of the dump.  It will generally include the field with a problem. It could be possible that your SQL is returning a NULL value for a field ...

    50,205 pointsBadges:
    report
  • CharlieBrowne

    If you get the error, before you respond to it and either cancel or dump, do STRSRVJOB and STRDBG to debug the job. This will bring you right to the line in error and you can check the value in any of the fields.

    41,380 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