File is not a menu file

Document ID : KB000122797
Last Modified Date : 03/01/2019
Show Technical Document Details
Issue:
PLI3804 and YMN0006 errors
Messages received when accessing 2E menu are not the menu one's.
Environment:
IBM ISERIES

 
Cause:
If record format/Level identifiers of the files gets changed or the files are unavailable in the library/Library list during running the program YDMNGOI will result in errors. 
Resolution:
We have been testing different scenarios in our lab and below are our observations on why PLI3804 and YMN0006 errors will pop up/appear. If record format/Level identifiers of the files gets changed or the files are unavailable in the library/Library list during running the program YDMNGOI will result in the above errors. Some points to double check 1. That files YDMNGOI#, YDSNMNU are properly copied to the DR Machine? 2. Please check if files YDMNGOI#, YDSNMNU are present in the library list during running the programs. 3.Check for the" File level identifiers [DSPFD YDMNGOI#], [DSPFD YDSNMNU] of the files YDMNGOI[#DSPF], YDSNMNU[PF] in the DR machine are the same as in prod machine from which they copied. 4. Check for, Do files are picking properly from the correct library during running the program.