Program will not compile
search cancel

Program will not compile

book

Article ID: 252068

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

Program will not compile. Below is the job log.

 5770SS1 V7R3M0 160422                           Job Log                            DP400     09/30/22  08:37:31 CDT     Page    
  Job name . . . . . . . . . . :   YGENSRC         User  . . . . . . :   MYNAME       Number . . . . . . . . . . . :   670897    
  Job description  . . . . . . :   QBATCH          Library . . . . . :   MYMDL                                                   
MSGID      TYPE                    SEV  DATE      TIME             FROM PGM     LIBRARY     INST     TO PGM      LIBRARY     INST
CPC1163    Completion              00   09/30/22  08:37:31.495139  QWTCCRLJ     QSYS        00C9     *EXT                    *N  
                                     Message . . . . :   Job 670897/MYNAME/YGENSRC released by user MYNAME.                      
CPC1129    Completion              00   09/30/22  08:37:31.497758  QWTCHGJB     QSYS        0B47     *EXT                    *N  
                                     Message . . . . :   Job 670897/MYNAME/YGENSRC changed by MYNAME.                            
CPF1124    Information             00   09/30/22  08:37:31.552679  QWTPIIPP     QSYS        04C9     *EXT                    *N  
                                     Message . . . . :   Job 670897/MYNAME/YGENSRC started on 09/30/22 at 08:37:31               
                                       in subsystem QPGMR in QSYS. Job entered system on 09/30/22 at 08:37:31.                   
CPI1125    Information             00   09/30/22  08:37:31.552813  QWTPCRJA     QSYS        0110     *EXT                    *N  
                                     Message . . . . :   Job 670897/MYNAME/YGENSRC submitted.                                    
                                     Cause . . . . . :   Job 670897/MYNAME/YGENSRC submitted to job queue MYMDLQ in              
                                       QGPL from job 670818/MYNAME/ISDE19DA. Job 670897/MYNAME/YGENSRC was started               
                                       using the Submit Job (SBMJOB) command with the following job attributes:                  
                                       JOBPTY(5) OUTPTY(5) PRTTXT() RTGDTA(YCRTOVR) SYSLIBL(QSYS       QSYS2                     
                                       QHLPSYS    QUSRSYS) CURLIB(*CRTDFT) INLLIBL(YC22E419   Y1SY8501   Y2SY8501                
                                       YC22E408   QTEMP      Y1SY       Y2SY       QGPL       APLTSTOLIB PTSQRYLIB               

Environment

Release : 8.7

Resolution

The compilation is failing because the library MYMDL does not exist in the job description MYMDL/QBATCH, that is being used for the compilation job.

Please check/add the job description and ensure that the model library and generation library are present on it. When you have it in the list, then the YMDLLIBRFA data area is available and the compile should go through.