by KAMALDEEP » Wed Nov 30, 2011 8:49 pm
Hi Billy,
I am actually planning to write a job that can be sceduled and update the sheet daily. Here is my JCL, i am done with task 1, but struggling to achieve the task 2 ( updating the excel sheet that is present in a link with the count value). Please help me.
JCL :
//STEP01 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN1 DD DISP=SHR,DSN=*****
//IN2 DD DISP=SHR,DSN=****
//RPT DD DSN=******,DISP=MOD
//TOOLIN DD DISP=SHR,DSN=********(TOOL1)
//CTL1CNTL DD DISP=SHR,DSN=*******(CTL1)
//CTL2CNTL DD DISP=SHR,DSN=*******(CTL2)
//*
DATA PRESENT IN TOOLI :
COPY FROM(IN1) TO(RPT) USING(CTL1)
COPY FROM(IN2) TO(RPT) USING(CTL2)
DATA PRESENT IN CTL1:
OUTFIL FNAMES=RPT,REMOVECC,NODETAIL,BUILD=(400X),
TRAILER1=('UK -',COUNT=(M10,LENGTH=8))
DATA PRESENT IN CTL2:
OUTFIL FNAMES=RPT,REMOVECC,NODETAIL,BUILD=(400X),
TRAILER1=('ROI -',COUNT=(M10,LENGTH=8))
Please let me know if you need any more info.