Permanent I/O error occurred in file xxx(C G D F).
时间:2015-10-13 ┊ 阅读:11,626 次 ┊ 标签: 编程 , 经验 , 系统 , 问题
这种错误是由as/400画面试图显示不可能显示的特殊字符导致的异常错误。
查找一下screen上字段反亮的字段数据来源,肯定有非法字符。
解决办法:
1.传数据到画面上前做validation,把非法字符过滤掉;
2.monitor此异常并做相应处理。
Permanent I/O error occurred in file xxx(C G D F).
Message ID . . . . . . : RPG1251 Severity . . . . . . . : 99
Message type . . . . . : Inquiry
Date sent . . . . . . : 13/10/15 Time sent . . . . . . : 14:33:37
Message . . . . : Permanent I/O error occurred (C G S D F).
Cause . . . . . : The RPG program xxx in library xxx at statement
161600 detected a permanent (not recoverable) file, session, or device
error. The session, device and/or program has been stopped. Examine the
major/minor return code value to determine the specific error that occurred.
If the major return code is 80 then a system or file error occurred and
programmer action is required to fix the problem. If the major return code
is 81 then a session or device error occurred, but use of another session or
device may be successful.
Recovery . . . : Enter C to cancel, G to continue processing at *GETIN, S
to obtain a system dump, or D to obtain an RPG formatted dump.
Possible choices for replying to message . . . . . . . . . . . . . . . :
D -- Obtain RPG formatted dump.
S -- Obtain system dump.
G -- Continue processing at *GETIN.
C -- Cancel.
F -- Obtain full formatted dump.
上一篇:程序员要知道的一些网站
文章评论
仅有1条评论
添加新评论
温馨提醒:如果您是第一次在本站留言,需要审核后才能显示哦!
这个不错,正是我要的