Problem:

You get the error:
RPG procedure RS005R in program RJSSPLIT/RS005R at statement 2001 attempted to access non-existent field.

Solution:

Make sure that there are no blank records in the page definition before the record you are using for your *SELECT statement.
 
If you have two fields defined in the page definition and blanked out the fields in the first record because you didn't need it, the *SELECT statement uses the symbolic field name from the second record and receives an error. Move the field values from Record 2 to Record 1.
 

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016