RNF2359

A global file cannot specify a handler procedure in the same module if the file is implicitly opened.

30

Cause . . . . . : When a global file specifies the HANDLER keyword where the first parameter identifies a procedure in the same module, the file must also specify the USROPN keyword.

Recovery . . . : Add the USROPN keyword to the File specification, or move the handler procedure to a different module.