Gurus:
I generated my program using pgmdef. The system code is PR. When I painted, I see the EMPLOYEE table as a relation.
I want to read the EMPLOYEE table using EMPSET6. When I move to DB-FIRST-NAME-UC and/or DB-LAST-NAME-UC the compiler throws the error
Operand DB-FIRST-NAME-UC not declared. Other PR applications are using this working storage variable, e.g. PR33.
Randall, I thought about that, so I added an API call based on an index, but the compiler is throwing the error. Then it was decided to add an index to EMPLOYEE. I did just that, based on COMPANY & FICA-NBR. Funny thing, when I moved to DB-FICA-NBR, the compile worked...but now I am being told that the index is invalid.