IBM Support

MCH3401 on Prototyped Call to External Program in RPGLE

Troubleshooting


Problem

An MCH3401 error can occur if the prototype for an external program call is not coded correctly.

Resolving The Problem

An MCH3401 error can occur if the prototype for an external program call is not coded correctly. The external program name needs to be specified in capital letters, as in the example below.

D MyCalledPgm      PR      extpgm('CALLEDPGM')

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]

Historical Number

513220676

Document Information

Modified date:
11 November 2019

UID

nas8N1013233