OC4错误

已经是连着第二次犯这个错误了,上次没有记录,今天又发生了,而且忘记了错误原因~所以今天还是决定记下来。

OC4错误
CEE3204S The system detected a protection exception (System Completion Code=0C4)
         From compile unit SM0300 at entry point SM0300 at compile unit offset +
         address 19F5150C.                                                     

一直以为是Move语句哪里错了,变量改了又改,突然想起去看一下打印的文件状态~~~
96错误~~~查错误代码,原来是对于Open的文件,没有通过DD语句指定输入信息。

晚上再次犯这个错误。
调了很久~~忘记查看文件状态。查看发现是90错误,Google了半天,提示可能是DD语句有问题,检查了10遍DDNAME,Select语句,都没问题,最后………………突然发现DSNNAME的HLQ写错了,光顾着看Member滴名字。。。

For VSAM file: An OPEN statement with the OUTPUT phrase was attempted, or
an OPEN statement with the I-O or EXTEND phrase was attempted for an
optional file, but no DD statement was specified for the file.

For QSAM file: An OPEN statement with the OUTPUT phrase was attempted, or
an OPEN statement with the I-O or EXTEND phrase was attempted for an
optional file, but no DD statement was specified for the file and the
CBLQDA(OFF) run-time option was specified.

结论:出现这个错误很可能是文件打开不正常导致的。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值