View Full Version : CL MONMSG: CPF0000 -vs- CPF9999
01-01-1995, 02:00 AM
Will someone please explain why monitoring for CPF9999 is more inclusive than monitoring for CPF0000 in a CL program? Thank you. Chris
11-01-2000, 03:30 PM
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."
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.