免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 31286 | 回复: 8
打印 上一主题 下一主题

调用的程序报错,请高人帮忙 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-27 10:04 |只看该作者 |倒序浏览
如题  在调用程序的时候 报错了 不知道为什么

Message ID . . . . . . :   CEE9901                                            
Date sent  . . . . . . :   03/27/09      Time sent  . . . . . . :   09:11:10  
                                                                              
Message . . . . :   Application error.  RNX9998 unmonitored by KA8864ZBK at   
   statement *N, instruction X'0000'.                                          
                                                                              
Cause . . . . . :   The application ended abnormally because an exception     
   occurred and was not handled.  The name of the program to which the         
   unhandled exception is sent is KA8864ZBK KA8864ZBK _QRNI_CANCEL. The program
   was stopped at the high-level language statement number(s) *N at the time   
   the message was sent.  If more than one statement number is shown, the      
   program is an optimized ILE program.  Optimization does not allow a single  
   statement number to be determined.  If *N is shown as a value, it means the
   real value was not available.                                               
Recovery  . . . :   See the low level messages previously listed to locate the
   cause of the exception.  Correct any errors, and then try the request again.


按F10 后 出现下面的内容

Pointer not set for location referenced.                             
Internal failure in compiler or subroutine.                          
Pointer not set for location referenced.                             
Internal failure in compiler or subroutine.                          
Application error.  RNX9998 unmonitored by KA8864ZBK at statement *N,
  instruction X'0000'.                                               
Application error.  RNX9998 unmonitored by KA8864ZBK at statement *N,
  instruction X'0000'.

论坛徽章:
0
2 [报告]
发表于 2009-03-27 12:09 |只看该作者
程序问题。解决办法:

1)加入程序错误例程;

2)重新编译程序,把‘optimized’这类编译参数去掉。

[ 本帖最后由 passthru 于 2009-3-27 12:10 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2009-03-27 12:46 |只看该作者
有可能是程序内部的变量溢出了

论坛徽章:
0
4 [报告]
发表于 2009-03-30 23:12 |只看该作者
这个好象是 ,字段没有定义,要么就是传入参数的字段名,和数组定义字段同名了。

论坛徽章:
0
5 [报告]
发表于 2010-04-09 10:12 |只看该作者
我现在也遇到同样的问题了,在SQLRPGLE中按F4调用另一个RPG程式时出现和楼主一样的 问题.
我按照passthru大大的第2种方法编译了一次,还是不行~~~
请大大指点一下,谢谢大大们~~~

论坛徽章:
0
6 [报告]
发表于 2010-04-09 17:52 |只看该作者
重点查看KA8864ZBK,及相关的东西的内容。

论坛徽章:
0
7 [报告]
发表于 2010-09-24 15:02 |只看该作者
还没有结论吗?我也遇到了这样的问题..目前正在查找原因.

论坛徽章:
0
8 [报告]
发表于 2010-09-25 12:49 |只看该作者
上层调用该程序时传参有问题:
1、没有parm参数;

2、参数列表属性不一致,参数中有变量类型不对,或者长度不对;

论坛徽章:
0
9 [报告]
发表于 2010-10-06 21:59 |只看该作者
好象是参数的值有问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP