rpg

pts.
Tags:
AS/400
CLP
IBM DB2
RPG
RPGLE
We just upgraded to an iSeries box with 5.3. We were running 4.6. My RPG programs function properly until I recompile the program. Then I get an compile error 7073 regarding the length of a key field not equal. The compile shows BIN2 (and sometimes multiples) after the other key fields and I can't get it to compile. What can I do?

Answer Wiki

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

Doug Englander wrote the editors of Search400.com with two ideas:

1. Check the library list the program is compiling under. It could be that the file he THINKS he is compiling against is not the one he is compiling against. If that is the case, the keys could be defined differently.

2. Can we see the compile listing? What is BIN2?

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
  • TomLiotta
    BIN2 is a 2-byte binary (integer) field. But as noted, without seeing an example of the output, there's not much chance of guessing what's happening. The description of the problem is far too vague. Tom
    125,585 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