How Can i Analyzing the Dump Spool file.

Tags:
Development
How do you read a formatted dump of an SQLRPGLE Program and what do you look for? Example: I received an error message on the concole RX402R 6641 decimal-data error in field (C G S D F). I enter "D" to get a dump. Where do I start to find the problem?

Answer Wiki

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

The error message and the dump tell you what line the error occurred on. Go back to your compiler listing for the program and find that line. One of the variables mentioned had invalid data. To find which one just look for the variables from the offending line in your dump. One of them will have contents like ‘4040404040’ (basically a null). This field was never populated by your program – RPG really hates that.

Discuss This Question: 1  Reply

 
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.
  • Byimw02
    A data decimal error is usually a hexadecimal blank F'40' being moved to a numeric field. As noted in the other reply, reference to the statement number of the error and note the status of your input files.
    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.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: