- 论坛徽章:
- 0
|
PGM
/****************************************************/
/* DDMF(NTSTL1DB) COMMUNICATION FLAG CHECK */
/****************************************************/
CHGCURLIB CURLIB(SUZOBJ)
CHGJOB DDMCNV(*DROP)
CLRPFM FILE(SUZOBJ/FCWKP0DB)
J1: CALL PGM(SUZOBJ/PY018UB)
MONMSG MSGID(CPF4207) EXEC(GOTO J9)
J9: ENDPGM
上面的这个程序,设置了错误捕获,可是为何当错误发生时,系统还是报了错误,必须手动进行回答?
哪位高手能解释一下吗?
Additional Message Information
Message ID . . . . . . : RPG1216
Date sent . . . . . . : 12/11/11 Time sent . . . . . . : 05:30:00
Message . . . . : Error message CPF4207 appeared during OPEN (C S D F).
Cause . . . . . : The RPG program PY018UB in library SUZOBJ received the
message CPF4207 while doing an implicit OPEN to file FCWKTBL1. See the job
log for a complete description of message CPF4207. If the file has a device
type of SPECIAL, there may be no message in the job log.
Recovery . . . : Enter C to cancel, S to obtain a printout of system
storage, D to obtain an RPG formatted printout of system storage, or F to
obtain a full formatted printout of system storage.
Possible choices for replying to message . . . . . . . . . . . . . . . :
D -- Obtain RPG formatted printout of system storage.
S -- Obtain printout of system storage.
F -- Obtain full formatted printout of system storage.
|
|