by beheraashisa » Thu Aug 09, 2012 7:25 pm
I tried the JCL, It modified the parm at step 1 and at step 2 it displayed old parm information only. So before going foreward i want to cconfirm with Gurus like you.
The JCL
//STEP1 EXEC PGM=IOCOPY
//*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//IN1 DD DSN=PROD.CURRPGM,DISP=SHR
//OUT1 DD DSN=PARMLIB(PARM1),DISP=SHR
//***************
//STEP2 EXEC PGM=IKJEFT01,REGION=6M,DYNAMNBR=20
//SYSUDUMP DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//IOSERCOM DD SYSOUT=*
//JOBDATA DD DSN=PARMLIB(PARM1),DISP=SHR
//COMDATA DD DUMMY,DCB=BLKSIZE=80
//SYSTSIN DD DSN=PARMLIB(CPRC995Z),DISP=SHR
the 2nd step program is a cobol-db2. The program does some calculation based on the values in PARM1 and dispays the values of PARM1.
I see that the parm is changed at step 1.