I am attempting to add a 2nd file to a CLLE program that already had one file in it and compiled successfully until I attempted to add a 2nd file. I have declared the 2nd file as folllows:
When I reference any of the fields from this file in my program I get Variable X is referred to but not declared. I am reading records from the file with this:
The file I have added has record format name the same as the file name, so I don't know if that has anything to do with it (that is another story that I won't go into). Any ideas what I doing wrong.
Code:
DCLF FILE(PRTLSTL1) RCDFMT(*ALL) OPNID(FILE01)
Code:
RCVF OPNID(FILE01)
Comment