免费注册 查看新帖 |

Chinaunix

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

关于runsqlstm命令 [复制链接]

论坛徽章:
1
技术图书徽章
日期:2015-12-23 17:03:48
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-18 10:42 |只看该作者 |倒序浏览
通过此命令建立的DB和通过DDS建立的DB有哪些不同呢??
我通过runsqlstm建立了个DB,但是最大MBR数好像只能是1,不知道可以修改最大MBR数吗??
如果可以,怎样修改呢??

论坛徽章:
0
2 [报告]
发表于 2008-10-18 14:01 |只看该作者
刚才测试了下,的确存在这个问题,google下CPD3213好象也没找到有效的解决方法。
http://archive.midrange.com/midrange-l/199712/msg00544.html
似乎要用DDS创建的PF才能修改MAXMBRS(*NOMAX) ?

1. chgcurlib mylib
2.strsql,CREATE TABLE Accounts
3.CHGPF FILE(mylib/Accounts) MAXMBRS(*NOMAX)
MSGID:CPD3213

  1.                          Additional Message Information                        
  2.                                                                                 
  3. Message ID . . . . . . :   CPD3213       Severity . . . . . . . :   40         
  4. Message type . . . . . :   Information                                         
  5. Date sent  . . . . . . :   10/18/08      Time sent  . . . . . . :   13:31:34   
  6.                                                                                 
  7. Message . . . . :   Maximum-member value not valid for file ACCOUNTS.         
  8. Cause . . . . . :   File ACCOUNTS in library MYLIB is either a Structured      
  9.    Query Language (SQL) table, view or index, or a non-SQL file that is an SQL  
  10.    materialized query table or is in SQL data base MYLIB.                       
  11.      SQL tables, views, and indexes, and non-SQL files that are an SQL         
  12.    materialized query table or are in an SQL data base must have only one      
  13.    member; however, the value that you specified on the maximum number of      
  14.    members (MAXMBRS) parameter is either a number greater than one or *NOMAX.   
  15.    For more information about SQL tables, views and indexes, see the DB2 UDB   
  16.    for iSeries SQL Programming topic in the Information Center,                 
  17.    [url]http://www.ibm.com/eserver/iseries/infocenter[/url]                                
  18. Recovery  . . . :   Change the value in the MAXMBRS parameter to 1 or *SAME,
  19. and try the request again.  

  20.                                                                                                            Bottom                                                
  21.                                                                                 
  22. F3=Exit   F6=Print   F9=Display message details                                
  23. F10=Display messages in job log   F12=Cancel   F21=Select assistance level     
复制代码

[ 本帖最后由 qingzhou 于 2008-12-5 09:39 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2008-10-20 12:04 |只看该作者
addpfm 不能用吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP