PL/I · Message ID

CEE3362S: No Main or Fetchable Procedure/Function Present in the Load Module

What does CEE3362S: No Main or Fetchable Procedure/Function Present in the Load Module mean in PL/I?

Language Environment tried to run a load module as a main program (or FETCH target) but found no entry point flagged as a valid main or fetchable routine — typically a bind/link-edit mistake, or the module was compiled as a subroutine but invoked as if it were the top-level program.

CEE3362S: No Main or Fetchable Procedure/Function Present in the Load ModuleIBM Enterprise PL/I for z/OS · z/OS Language Environment

Condition

Language Environment tried to run a load module as a main program (or FETCH target) but found no entry point flagged as a valid main or fetchable routine — typically a bind/link-edit mistake, or the module was compiled as a subroutine but invoked as if it were the top-level program.

Fix

Recompile the intended entry procedure with the MAIN option, and check that the binder/link-edit step made the right CSECT the module's actual entry point.

Related message id