Question

While working on my final project for my AS/400 Course, I encountered this problem that I can't seem to correct.

enter image description here

The display file I tried to compile (CHAP12EXP.rpgle) was given to me and I'm not supposed to edit it. From my understanding, I compiled CHAP12DSP and that was successful as well as EMPPFL; those two files can be seen on the left in the screenshot below.

Now this other screenshot is from physical file EMPPF:

enter image description here

And this final screenshot is from CHAP12DSP.dspf before compiling it. (SCREEN 2)

enter image description here

Was it helpful?

Solution

The length of the fields TITLE and FIRSTNAME defined in your display file CHAP12DSP does not match the length defined in your physical file EMPPFL.

Examine and compare the source DDS for the display file and physical file for the definition of fields TITLE and FIRSTNAME.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top