That message generally indicates that the system cannot find the object your are trying to use or that you are not authorized to the object. The error message text should include the name of the object you're trying to use.
Possible causes are that the object name is typed incorrectly, your library list does not include the library containing the object, etc.
In general you shouldn't directly receive a MCH error such as this. Normally your software should map the MCH3401 to a more understandable CPF (or other application specific message prefix) message ID.
Bruce Vining
<a href="http://www.brucevining.com/">http://www.brucevining.com/</a>
Possible example:
Calling a CL program in a RPGLE program where the name of the cl call was in single quotes 'clxxxxx'. When changed it to uppercase 'CLXXXX' the MCH3401 error went away. Just an FYI.
Last Wiki Answer Submitted: February 5, 2013 5:58 pm by sewell90 pts.
All Answer Wiki Contributors: sewell90 pts. ,
bvining6,055 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
I know this is an old issue but I had this same MCH3401 happen to me today. I was calling a CL program in a RPGLE program I had the name of the cl for the call in single quotes ‘clxxxxx’. When I changed it to uppercase ‘CLXXXX’ I no longer got the error. Just an FYI.
I know this is an old issue but I had this same MCH3401 happen to me today. I was calling a CL program in a RPGLE program I had the name of the cl for the call in single quotes ‘clxxxxx’. When I changed it to uppercase ‘CLXXXX’ I no longer got the error. Just an FYI.