What causes space offset error in RPGLE?

50 pts.
Tags:
RPGLE
Can anyone tell me what this means? I'm getting this on a CHAIN to an externally described file in a called RPGLE program.

Space offset X'00000000' or X'000000000020A0AA' is outside current limit for object JOBNAME USERID 123456.

Internal failure in compiler or subroutine.



Software/Hardware used:
iSeries V6R0M0

Answer Wiki

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

It is most likely a problem of (1) a mismatch between parameters passed to this program and the arguments received by this program or (2) a mismatch between parameters passed by this program to a called program or procedure and the arguments received by the called program/procedure (or similarly inside a called program/procedure). If you are explicitly using pointers in your programming, that would be another likely source.

Memory is being corrupted somewhere. The corruption becomes apparent when CHAIN is executed. Perhaps an offset value used for I/O buffering by CHAIN was accidentally altered.

It’s also possible that you are not at a decent PTF level. I would check cume level against <a href=”http://www-912.ibm.com/s_dir/sline003.nsf/ALLPSPBYREL”>PSP by Release</a> and group PTF levels (WRKPTFGRP) against <a href=”http://www-912.ibm.com/s_dir/sline003.nsf/GroupPTFs?OpenView&view=GroupPTFs”>Group PTFs by Release</a> particularly for DB2 just in case.

PTF levels are simply good system practice. I would be certain that no parameter mismatches existed before thinking it was a PTF issue, especially if I had anything close to current PTF levels. There are too many other sites running RPG against DB2 for system bugs to go unnoticed.

Tom

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.

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
    Was this a run time or a compile time error?
    50,205 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