Skip to main content
Question

JCL-Program relationship is not recognized

  • June 9, 2026
  • 1 reply
  • 8 views

gspurohit

Hi There,

My application source code is using IKJEFT01 utility to execute PL/I DB2 program using below syntax:
 

//DB201    EXEC PGM=IKJEFT01,DYNAMNBR=50,
//  PARM=('%DBDB20 RUN,DB2(&DB2SYS)PG(&PROGRAM)PL(&PLAN)',
//        'RTR(&RETRY)PRM(&PARMSTR)LNG(&LANG)RC(&RC)')
//SYSTSIN  DD  DUMMY

I have added below to the legacy.xml in <BatchProg> but it is not recognizing the relationship.

      <item> IKJEFT01,PARM,2,PG(%P) </item>

1 reply

dpraveen
  • Rocketeer
  • June 15, 2026

Hi Gauri,

 

Please try adding it towards the end of the Legacy.xml so EA can consider the PL/I Program as a Program Entry. Make the changes in the Legacy.xml under the workspace Folder.

<JCL>
<NewBatchProgs>
<add relationship="Runs" type="PROGRAMENTRY" name="%P">
<exec pgm="IKJEFT01">
<parm number="3" value="PGM(%P)" />
</exec>
</add>
</NewBatchProgs>
</JCL>