× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



One of my colleagues was making a routine enhancement to an OPM program
today. He added /one more/ data structure to the program, which caused the
dreaded CPF6301 error message, indicating that the program has too many
arrays, tables, or data structures defined.

So, he used CVTRPGSRC to convert the code to RPGIV, which he was able to
compile successfully, and the first time that it was run the program issued
a CPF511D error ("Parameter integrity error occurred with reason code 2.")
on a chain to a particular file. Except for the deficiency that he was
trying to fix, this program was working fine /prior/ to converting it to
RPGIV.

The CPF511D error always seems to occur on the 2nd successive chain to this
file.

We determined a Q&D (but ugly and very inefficient) way to fix the program
was to CLOSE and OPEN the file prior to each chain, but we need a better
solution to this problem...

I can post some code, but there is nothing special about this code... the
chain is done with a key list that defined by using two of the fields
defined in the file, one of which is signed 8/0, and the other field is a
4-byte alpha.

Regards,
sjl





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.