CPF Errors

285 pts.
Tags:
CPF errors
CPF0000
CPF9999
Whats the difference between CPF0000 and CPF 9999

Answer Wiki

Thanks. We'll let you know when a new response is added.

The both error id is “global” error messsage, used to trap all messages.

When you use MONMSG for CPF0000, you are looking for any error messages, while a CPF9999 is for function checks.

When you implement a program-level message monitor, I recommend that you use the message identifier CPF9999 instead of the widely used CPF0000. Using CPF9999 provides two important functions over CPF0000. First, CPF9999 catches some messages that CPF0000 will not catch because CPF9999 is the “Function Check” error, which occurs only after some other program error, including errors triggered by CPFxxxx escape messages, MCHxxxx escape messages (machine errors), and escape messages from other message identifier groups. CPF0000 only monitors for actual CPFxxxx messages. Second, the CPF9999 “Function Check” message provides the actual failing statement number, which is not available from the CPFxxxx error message. Specifying the CPF9999 message ID as the program-level message monitor makes this additional information available.

Hi,
Thanks for the information.
Can you please provide one scenarios for this?

Do u meant that CPF9999 will catch MCHxxxx messages too?

Thanks,
Renjith

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Supriyoas400
    CPF0000 will trap all the errors of type CPFnnnn A CPF9999 is a global message ID and , it also traps other messages like MCHxxxx Supriyo
    130 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following