*PSSR

5 Views


What is PSSR?

  • *PSSR is a Program Status Subroutine in RPG.

  • It handles runtime errors inside an RPG program or procedure.

  • Triggered automatically when an unmonitored error occurs.

  • It’s defined as:

    
     

    BEGSR *PSSR // Error-handling logic ENDSR

  • Every program/procedure can have its own *PSSR.

Post Comments