2E parallel instal: model library upgrade job fails
search cancel

2E parallel instal: model library upgrade job fails

book

Article ID: 206271

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

After following the 2E v8.7 parallel install instructions here, specifically the Upgrade Existing CA 2E Design Models section, the model library upgrade batch job ends abnormally.

Details:

  • Libraries involved in parallel install have Z* prefix as suggested by the instructions
  • Library list set up prior to submitting the model library upgrade batch job is as follows:
    • QTEMP
    • Z1SY
    • Z2SYRPG
    • Z2SYCBL
    • Z2SY
    • QGPL
  • The model library upgrade batch job is being submitted with the following command:
SBMJOB CMD(YAPYMDLCHG MDLLIB(ZFBOMDLD)) JOB(ZFBOMDLD) JOBQ(*LIBL/QSYSNOMAX) INLLIBL(*CURRENT) LOG(4 00 *SECLVL) LOGCLPGM(*YES)
  • The job is complaining that a based-on file ZFBOMDLD/YMDLLSTRFP needed to add a member YMDLLSTRFP to file YMDLLST10L for file does not exist, but it actually does
  • Job ends abnormally and the error is:  
                                         Message . . . . :   Cannot find object needed for file YMDLLST10L in ZFBOMDLD.               
                                         Cause . . . . . :   Either library ZFBOMDLD or member YMDLLSTRFP or file                     
                                           YMDLLSTRFP in library ZFBOMDLD was not found.  If an add member operation                  
                                           was requested, the member is YMDLLSTRFP. Recovery  . . . :   Correct the                  
                                           name of the based-on file, the based-on member, the library name, or the                   
                                           format-sharing file.  Then try the request again. If this was a restore of                 
                                           two or more libraries, then the library containing the based-on file may                   
                                           have been restored after library ZFBOMDLD. Try to restore file YMDLLST10L                  
                                           again. Optionally, specify the Defer ID (DFRID) parameter on the restore                   
                                           operation to defer the file dependency until the object is available.                      
    CPF3207    Diagnostic              40   09/18/20  21:07:33.621488  QDBCRTME     QSYS        2035     QLICRDUP    QSYS        08D7 
                                         Message . . . . :   Member not added. Errors occurred.                                       
                                         Cause . . . . . :   Errors were detected when your job was trying to add the                 
                                           member. Recovery  . . . :   See the previously listed messages.  Correct any               
                                           errors and then try the request again.           

Environment

CA 2E 8.7

Resolution

YMDLLSTRFP member should be present by default in the YMDLLSTRFP file. It looks like the file got corrupted somehow, leading to the deletion of the member.

To resolve the issue, please follow these steps:

1. Delete the file ZFBOMDLD/ZJOBLSTRFP. This is a backup file created as part of a previous attempt to upgrade the model.

DLTF FILE(ZFBOMDLD/ZJOBLSTRFP)

2. Add a new member to the YMDLLSTRFP file using the following command

ADDPFM FILE(ZFBOMDLD/YMDLLSTRFP)
MBR(YMDLLSTRFP) TEXT('Model Object List Physical file')

3. SBMJOB CMD(YAPYMDLCHG MDLLIB(ZFBOMDLD)) with the proper library list in place.

After this, the model upgrade should be successfully completed.