Announcement

Announcement Module
Collapse
No announcement yet.

CL MONMSG: CPF0000 -vs- CPF9999

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • CL MONMSG: CPF0000 -vs- CPF9999

    Will someone please explain why monitoring for CPF9999 is more inclusive than monitoring for CPF0000 in a CL program? Thank you. Chris

  • #2
    CL MONMSG: CPF0000 -vs- CPF9999

    Excerp from CL Programming by Gregg Veal ".. there are advantages to using CPF9999: If an unmonitored exception message arrives on the program message queue, the function check message, CPF9999, is sent. The message contains the statement number of the failing statment, which is very useful information to have when diagnosing a problem. Also, there are error messages other than CPFxxxx messages that can cause a CL program to terminate (MCHxxxx, etc.) By allowing the function check to occur, the problematic code is easier to locate, and you never have to worry about additional error message groups."

    Comment

    Working...
    X