INFSR(SUBRname)

The INFSR keyword identifies the file exception⁄error subroutine that may receive control following file exception⁄errors. The subroutine name may be *PSSR, which indicates the user-defined program exception⁄error subroutine is to be given control for errors on this file.

The INFSR keyword cannot be specified for a global file that is accessed by a subprocedure. The INFSR subroutine must be coded in the same scope as the file; for a local file, it must be coded in the same subprocedure as the file, and for a global file in a cycle module, it must be coded in the main source section.