Joined: 05 Jan 2016
I have one scenario, it will be great if some one advice and answer.
I have below 4 programs
PROG2(COBOL-DB2 Program) uses DB2 Plan ABC123.
PROG4(COBOL-DB2 Program) uses DB2 Plan XYX456.
If PROG1 call PROG2 and PROG2 call PROG3 and PROG3 call PROG4.
While calling from JCL we usually write as below
//BLASTP00 EXEC PGM=IKJEFT01,REGION=6M,TIME=60,
// PARM=('%DB2EXECE SY(DB2C) PL(ABC123) PR(PORG1)')
But How to pass Plan name for PROG4 ?
How PROG02 will get plan name from base program PORG1 ?