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 E 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 acutally does
  • Job ends abnormally and the error is:  
Y2C0046    Information             00   09/18/20  21:07:33.395199  XCVTD4041C   Z2SY        *STMT    YCHGMDLH@C  Z2SY        *STMT
                                     From module . . . . . . . . :   XCVTD4041C                                                   
                                     From procedure  . . . . . . :   XCVTD4041C                                                   
                                     Statement . . . . . . . . . :   7100                                                         
                                     To module . . . . . . . . . :   YCHGMDLH@C                                                   
                                     To procedure  . . . . . . . :   YCHGMDLH@C                                                   
                                     Statement . . . . . . . . . :   72900                                                        
                                     Message . . . . :     ==> Update of model ZFBOMDLD from level 00040 begun.                   
CPC2191    Completion              00   09/18/20  21:07:33.606455  QLIDLOBJ     QSYS        061B     XCVTD4041C  Z2SY        *STMT
                                     To module . . . . . . . . . :   XCVTD4041C                                                   
                                     To procedure  . . . . . . . :   XCVTD4041C                                                   
                                     Statement . . . . . . . . . :   8900                                                         
                                     Message . . . . :   Object YMDLLST10L in ZFBOMDLD type *FILE deleted.                        
CPF3204    Diagnostic              40   09/18/20  21:07:33.619547  QDBCRTME     QSYS        2026     QLICRDUP    QSYS        08D7 
                                     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.                                                     
CPF3163    Diagnostic              30   09/18/20  21:07:33.621550  QDBDUPFI     QSYS        04FA     XCVTD4041C  Z2SY        *STMT
                                     To module . . . . . . . . . :   XCVTD4041C                                                   
                                     To procedure  . . . . . . . :   XCVTD4041C                                                   
                                     Statement . . . . . . . . . :   9000                                                         
                                     Message . . . . :   Cannot create duplicate member YMDLLSTRFP in file                        
                                       YMDLLST10L.                                                                                
                                     Cause . . . . . :   An error occurred while you were trying to create a                      
                                       duplicate of member YMDLLSTRFP from file YMDLLST10L in library Z2SYMDL into                
                                       file YMDLLST10L in library ZFBOMDLD. File YMDLLST10L in library ZFBOMDLD                   
                                       will exist and contain only those members created before member YMDLLSTRFP.                
                                       Recovery  . . . :   See the previously listed messages to determine the                    
                                       specific cause of the error. After correcting the problem, do one of the                   
                                       following: -- Use either the add logical file member (ADDLFM) command or the               
                                       add physical file member (ADDPFM) command to add those members that were not               
                                       added to the file.  Then if the data is to be duplicated use the copy file                 
                                       (CPYF) command to copy the data. -- Use the delete file (DLTF) command to                  
                                       delete file YMDLLST10L in library ZFBOMDLD.  Then try the create duplicate                 
                                       object (CRTDUPOBJ) command again.                                                          
CPF2130    Diagnostic              40   09/18/20  21:07:33.632246  XCVTD4041C   Z2SY        *STMT    YCHGMDLH@C  Z2SY        *STMT
                                     From module . . . . . . . . :   XCVTD4041C                                                   
                                     From procedure  . . . . . . :   XCVTD4041C                                                   
 5770SS1 V7R1M0 100423                           Job Log                             TRANS    09/18/20 21:07:33          Page  263
  Job name . . . . . . . . . . :   ZFBOMDLD        User  . . . . . . :   RCHL002      Number . . . . . . . . . . . :   958981     
  Job description  . . . . . . :   FULLJOBLOG      Library . . . . . :   QGPL                                                     
MSGID      TYPE                    SEV  DATE      TIME             FROM PGM     LIBRARY     INST     TO PGM      LIBRARY     INST 
                                     Statement . . . . . . . . . :   12600                                                        
                                     To module . . . . . . . . . :   YCHGMDLH@C                                                   
                                     To procedure  . . . . . . . :   YCHGMDLH@C                                                  
                                     Statement . . . . . . . . . :   72900                                                       
                                     Message . . . . :   0 objects duplicated. 1 objects not duplicated.                         
                                     Cause . . . . . :   The create duplicate object (CRTDUPOBJ command) completed               
                                       but did not duplicate all the objects specified.  The previously listed                   
                                       messages identify the objects that could not be duplicated. Recovery  . . .               
                                       :   Correct any errors and then try the command again.                                    
Y2E0598    Escape                  40   09/18/20  21:07:33.632643  YCHGMDLH@C   Z2SY        *STMT    QCMD        QSYS        01C8
                                     From module . . . . . . . . :   YCHGMDLH@C                                                  
                                     From procedure  . . . . . . :   YCHGMDLH@C                                                  
                                     Statement . . . . . . . . . :   89700                                                       
                                     Message . . . . :   An error was detected during model upgrade processing.                  
                                     Cause:  An error occured during processing. Recovery:  See messages previously              
                                       listed.  Correct errors and try again.                                                    
CPC2402    Completion              50   09/18/20  21:07:33.633867  QCMD         QSYS        066F     *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.   

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.