0 pts.
 rpg
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?

Software/Hardware used:
ASKED: November 16, 2005  3:06 PM
UPDATED: November 20, 2009  6:32 AM

Answer Wiki:
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?
Last Wiki Answer Submitted:  December 2, 2005  8:18 am  by  MichelleDavidson   110 pts.
All Answer Wiki Contributors:  MichelleDavidson   110 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 107,695 pts.