- 論壇徽章:
- 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
上面的這個(gè)程序,設(shè)置了錯(cuò)誤捕獲,可是為何當(dāng)錯(cuò)誤發(fā)生時(shí),系統(tǒng)還是報(bào)了錯(cuò)誤,必須手動(dòng)進(jìn)行回答?
哪位高手能解釋一下嗎?
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.
|
|