免费注册 查看新帖 |

Chinaunix

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

SQLRPGLE程序的权限问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-21 21:35 |只看该作者 |倒序浏览
头一次写SQLRPGLE程序,用自己的开发帐户运行一切正常,可是把它挂到系统中给用户使用时就出不来数据了,具体哪里需要设置权限还请各位大虾指点迷津,万分感谢!

出错JOB LOG如下:

Not authorized to object CIMLIBA in QSYS type *FILE.
Prepared statement S1 not found.                    
Cursor C1 not open.                                 
Cursor C1 not open.              


Message ID . . . . . . :   SQL0551       Severity . . . . . . . :   30        
Message type . . . . . :   Diagnostic                                         
Date sent  . . . . . . :   07/08/21      Time sent  . . . . . . :   21:32:41  
                                                                              
Message . . . . :   Not authorized to object CIMLIBA in QSYS type *FILE.      
Cause . . . . . :   An operation was attempted on object CIMLIBA in QSYS type
  *FILE.  This operation cannot be performed without the required authority.  
Recovery  . . . :   Obtain the required authority from either the security   
  officer or the object owner. If you are not authorized to a logical file,   
  obtain the authority to the based-on files of the logical file. Try the     
  operation again.

论坛徽章:
0
2 [报告]
发表于 2007-08-22 09:29 |只看该作者
问题已解决.

Special authority  . . . . . . . SPCAUT         *ALLOBJ


这里原来是*none,改了就OK.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP