亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3533 | 回復: 4
打印 上一主題 下一主題

Diffrence between CPF0000 and CPF9999 [復制鏈接]

論壇徽章:
0
跳轉到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2009-02-06 10:05 |只看該作者 |倒序瀏覽
The 0 character is treated as a wild card for the purposes of error monitoring, so CPF0000 says to monitor for any error.

First, you can monitor for a specific message, e.g.:
MONMSG MSGID(CPF9801)

Or you can monitor for a list of specific messages, e.g.:
MONMSG MSGID(CPF9801 CPF9802 CPF9810)

Next, you can monitor for a whole group of related messages, using a
"generic" designation such as:
MONMSG MSGID(CPF9800)
-- this will trap any message that begins with CPF98xx.

Next, you can monitor for a truly generic message, such as:
MONMSG MSGID(CPF0000)
-- this will trap any message that begins with CPFxxxx.
-- typically this is used in a "global message monitor" statement at the start of the program, e.g.:
MONMSG MSGID(CPF0000 MCH0000) EXEC(GOTO ERROR)

For these message IDs to be considered a "generic pattern" it must end in "00" or "0000".

Finally, if a CPF message occurs and is not "handled" in the CL
program, in other words, there was no active MONMSG that matched the message ID either exactly
or as a generic pattern, then it is converted into a CPF9999 and that exception is raised ...
so you can also monitor for CPF9999. But, due to this extra processing that occurs before it is
converted to CPF9999, you may get additional messages, such as the one that tells you there was
an unhandled exception and asks if you want a "dump" etc.
-----------------
CPF9999 will also catch other messages that are not prefixed with CPF. MCH messages might occur and CPF9999 will catch those whereas CPF0000 will not.

論壇徽章:
0
2 [報告]
發(fā)表于 2009-02-06 11:39 |只看該作者
全是

論壇徽章:
0
3 [報告]
發(fā)表于 2009-02-06 16:24 |只看該作者
monmsg MSGID(CPF0000 CPF9999)

是不是可以處理一切ERROR?

論壇徽章:
0
4 [報告]
發(fā)表于 2009-02-06 17:40 |只看該作者
MONMSG MSGID(CPF0000)
-- this will trap any message that begins with CPFxxxx.

論壇徽章:
0
5 [報告]
發(fā)表于 2009-03-04 14:51 |只看該作者
請問監(jiān)控(monitor)的含議?

是指能識別到這些錯誤,下一步如何處理?我看程序中并沒有相應的處理語句,麻煩大牛們詳答。
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉載本站內容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP