Hi,
Scenario : All the Driver JCLs has one or more Procs. PROCS always contains Symbolic parms. Where as, few driver JCLs has the corresponding SYmbolic parms defined and few do not have have the corresponding Symbolic parms.
My Aim is to create the TEST jcl in such a way that, it looks the symbolic parms in PROCs and define those is driver JCL (if driver JCL does not have it already) If the driver JCL already has the same symbolic parm, then no need to add into the test JCL.
Driver JCL
//PROC1 EXEC PROC1
//*
//PROC2 EXEC PROC2,
// PFX1="PPP.QQQ",
// PFX2="PPP.RRR"
//*
//PROC3 EXEC PROC3
PROC1
//PROC1 PROC PFX1='PPP.OOO',
// PFX2=''PPP.MMM,
// PFX3=''PPP.NNN,
PROC2
//PROC2 PROC PFX1='PPP.QQQ',
// PFX3=''PPP.SSS,
Desired Test jCL should look like this :
//PROC1 EXEC PROC,
// PFX1='PPP.OOO',
// PFX2=''PPP.MMM,
// PFX3=''PPP.NNN,
//*
//PROC2 EXEC PROC2,
// PFX1="PPP.QQQ",
// PFX2="PPP.RRR"
// PFX3="PPP.RRR
//*
//PROC3 EXEC PROC3
Please help if any CLIST can do this ...