免费注册 查看新帖 |

Chinaunix

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

V6R1数据导入V5R3问题,紧急求助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-11-08 10:53 |只看该作者 |倒序浏览
近期需要灾难演习,把新400的数据导入到旧400后使用,但一直不成功,比较郁闷,任务重大,是否需要把旧400系统升级到V6R1,还是有其他解决方法,求助各位高手解决。

新机器:i720,操作系统V6R1.
旧机器:i520,操作系统V5R3.
操作过程:
1.在V6R1中作备份,备份命令SAVLIB LIB(CL5*) DEV(TAP01) ENDOPT(*UNLOAD) TGTRLS(V5R3M0) ACCPTH(*YES) OUTPUT(*PRINT)。在客户端直接备份和在控制台end子系统后备份都尝试过。
2.在V5R3中恢复数据,下面命令都用过(都是部分obj成功、部分obj不成功。PGM类型不成功的特别多,有2000多个):
RSTLIB SAVLIB(CL5*) DEV(TAP01) MBROPT(*ALL) ALWOBJDIF(*ALL) OUTPUT(*PRINT)
RSTLIB SAVLIB(CL5EXC) DEV(TAP01) MBROPT(*ALL) ALWOBJDIF(*ALL) OUTPUT(*PRINT)
RSTLIB SAVLIB(CL5EXC) DEV(TAP01) OUTPUT(*PRINT)
RSTOBJ OBJ(ZZANTEMD) SAVLIB(CL5DTA) DEV(TAP01) MBROPT(*ALL) ALWOBJDIF(*ALL) OUTPUT(*PRINT)
RSTOBJ OBJ(TOCL) SAVLIB(CL5EXC) DEV(TAP01)   SEQNBR(000000000 OUTPUT(*PRINT)

3.还原报错log(其中之一):
5722SS1 V5R3M0 040528                           Job Log                             S65A02DF 11/11/05 18:15:40          Page    1
  Job name . . . . . . . . . . :   RSTTOCL         User  . . . . . . :   GPDC001      Number . . . . . . . . . . . :   170272
  Job description  . . . . . . :   QDFTJOBD        Library . . . . . :   QGPL
MSGID      TYPE                    SEV  DATE      TIME             FROM PGM     LIBRARY     INST     TO PGM      LIBRARY     INST
CPF1124    Information             00   11/11/05  18:14:46.651480  QWTPIIPP     QSYS        061C     *EXT                    *N
                                     Message . . . . :   Job 170272/GPDC001/RSTTOCL started on 11/11/05 at 18:14:46
                                       in subsystem QBATCH in QSYS. Job entered system on 11/11/05 at 18:14:46.
CPI1125    Information             00   11/11/05  18:14:46.651848  QWTPCRJA     QSYS        0108     *EXT                    *N
                                     Message . . . . :   Job 170272/GPDC001/RSTTOCL submitted.
                                     Cause . . . . . :   Job 170272/GPDC001/RSTTOCL submitted to job queue QBATCH
                                       in QGPL from job 170262/GPDC001/QPADEV022K. Job 170272/GPDC001/RSTTOCL was
                                       started using the Submit Job (SBMJOB) command with the following job
                                       attributes: JOBPTY(5) OUTPTY(5) PRTTXT() RTGDTA(QCMDB) SYSLIBL(PAXUS
                                       QSYS       QSYS2      QHLPSYS    QUSRSYS) CURLIB(*CRTDFT) INLLIBL(QTEMP
                                       CL5EXCS    CL5EXC     CL5DTA     CL5COM     QGPL       QLBL       QMQM)
                                       LOG(4 00 *NOLIST) LOGCLPGM(*NO) INQMSGRPY(*SYSRPYL) OUTQ(QGPL/GPDC001)
                                       PRTDEV(PRT01) HOLD(*NO) DATE(*SYSVAL) SWS(00000000) MSGQ(QGPL/GPDC001)
                                       CCSID(65535) SRTSEQ(*N/*HEX) LANGID(CHS) CNTRYID(US) JOBMSGQMX(32)
                                       JOBMSGQFL(*PRTWRAP) ALWMLTTHD(*NO) INLASPGRP(*NONE) SPLFACN(*KEEP).
*NONE      Request                      11/11/05  18:14:46.652024  QWTSCSBJ                 *N       QCMD        QSYS        0189
                                     Message . . . . :  -RSTOBJ OBJ(TOCL) SAVLIB(CL5EXC) DEV(TAP01)
                                       SEQNBR(000000000 OUTPUT(*PRINT)
CPF3888    Diagnostic              20   11/11/05  18:15:38.708064  QSRRSDEQ     QSYS        0B34     QSRRSDEQ    QSYS        0B34
                                     Message . . . . :   PGM TOCL not restored to CL5EXC.
                                     Cause . . . . . :   If the object is a database file, an unexpected failure
                                       occurred during the restore of a file member.  The member was not restored.
                                       If the object is not a database file, then the conversion needed to make the
                                       object compatible with the current system is not possible, so the object was
                                       not restored. If the object is a program, module, service program, or SQL
                                       package, then either the object may not have the required creation data
                                       needed to perform the conversion, or there was an unexpected error.
                                       Conversion of these object types during restore is controlled by the Force
                                       Conversion on Restore (QFRCCVNRST) system value and the Force Object
                                       Conversion (FRCOBJCVN) parameter on the restore command. Recovery  . . . :
                                       Restore the object from a different save version using the Restore Object
                                       (RSTOBJ) command, or do one of the following: -- If the object is a database
                                       file, save the job log and the save media or online save file and report the
                                       problem (ANZPRB command). -- If the object is a program, module, service
                                       program, or SQL package, create the object using the appropriate create
                                       command, or restore the object from a saved version which has the required
                                       creation data.
CPF3770    Escape                  30   11/11/05  18:15:40.111752  QSRROCPR     QSYS        0603     QCMD        QSYS        01B7
                                     Message . . . . :   No objects saved or restored for library CL5EXC.
                                     Cause . . . . . :   No objects were saved or restored for library CL5EXC at
                                       11/11/05 18:14:47.   Diagnostic messages have been sent for each error that
                                       was detected. The objects not restored may include objects that were
                                       partially restored and require some additional recovery action. Recovery  .
                                       . . :   Press F10 or use the Display Job Log (DSPJOBLOG) command for error
                                       information.  Correct any errors and try the request again.
CPC2402    Completion              50   11/11/05  18:15:40.111984  QCMD         QSYS        0605     *EXT                    *N
                                     Message . . . . :   Job ended. Cancel message received at command processor.
                                     Cause . . . . . :   A message with a severity equal to or exceeding the end
                                       severity was received at the command processor. Recovery  . . . :   See the
                                       messages previously listed to determine the message that caused the job to
                                       be ended. Correct the errors, and then try the request again.
CPF1164    Completion              00   11/11/05  18:15:40.112440  QWTMCEOJ     QSYS        00C9     *EXT                    *N
5722SS1 V5R3M0 040528                           Job Log                             S65A02DF 11/11/05 18:15:40          Page    2
  Job name . . . . . . . . . . :   RSTTOCL         User  . . . . . . :   GPDC001      Number . . . . . . . . . . . :   170272
  Job description  . . . . . . :   QDFTJOBD        Library . . . . . :   QGPL
MSGID      TYPE                    SEV  DATE      TIME             FROM PGM     LIBRARY     INST     TO PGM      LIBRARY     INST
                                     Message . . . . :   Job 170272/GPDC001/RSTTOCL ended on 11/11/05 at 18:15:40;
                                       1 seconds used; end code 20 .
                                     Cause . . . . . :   Job 170272/GPDC001/RSTTOCL completed on 11/11/05 at
                                       18:15:40 after it used 1 seconds processing unit time.  The job had ending
                                       code 20. The job ended after 1 routing steps with a secondary ending code of
                                       0.  The job ending codes and their meanings are as follows:  0 - The job
                                       completed normally. 10 - The job completed normally during controlled ending
                                       or controlled subsystem ending. 20 - The job exceeded end severity (ENDSEV
                                       job attribute). 30 - The job ended abnormally. 40 - The job ended before
                                       becoming active. 50 - The job ended while the job was active. 60 - The
                                       subsystem ended abnormally while the job was active. 70 - The system ended
                                       abnormally while the job was active. 80 - The job ended (ENDJOBABN command).
                                       90 - The job was forced to end after the time limit ended (ENDJOBABN
                                       command). Recovery  . . . :   For more information, see the Work Management
                                       topic in the Information Center,
                                       http://www.ibm.com/eserver/iseries/infocenter.

论坛徽章:
0
2 [报告]
发表于 2011-11-08 11:39 |只看该作者
这个问题,是因为6.1上的目标进行过转换。
好像是需要一个什么补丁就可以解决,你赶紧咨询ibm的热线。

论坛徽章:
0
3 [报告]
发表于 2011-11-08 11:40 |只看该作者
回复 1# uibeliwei


    这个问题,是因为6.1上的目标进行过转换。
好像是需要一个什么补丁就可以解决,你赶紧咨询ibm的热线。

论坛徽章:
0
4 [报告]
发表于 2011-11-08 12:52 |只看该作者
一般情况是由低版本向高版本迁移(恢复)数据,比如:V5R3 -> V6R1,你这边的需求刚好相反,是从V6R1->V5R3.
从joblog错误提示来看,转换出现问题.建议:

1. WRKSYSVAL QFRCCVNRST,检查系统值设定是否修改为7 ? 如果不是请调整下,然后再执行 ===> RSTOBJ OBJ(TOCL) SAVLIB(CL5EXC) DEV(TAP01) SEQNBR(000000000 FRCOBJCVN(*SYSVAL) OUTPUT(*PRINT) 试试.

2.如果不行,把i5/OS V5R3M0安装上最新补丁,然后再测试转换.

论坛徽章:
0
5 [报告]
发表于 2012-02-05 19:35 |只看该作者
对于PGM,如果是在V5R3以后版本(V5R4 V6R1)创建的,并且create时没有指明降版本到V5R3,那么大部分是无法restore到V5R3上的。
具体可参见crtrpgpgm的targer release参数。
解决的话只能先在V6R1上降版本编译 (targer release 选为V5R3),然后再save/restore到V5R3上,当然,直接用源码在V5R3上编译也是可以的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP