esaccy Beginner
Joined: 26 May 2011 Posts: 7 Topics: 4
|
Posted: Tue May 31, 2011 2:55 am Post subject: Explain what ICETOOL will do for trailer count |
|
|
Hi,
Can you please explain what this JCL will do
Code: Code: |
STEP0010 EXEC PGM=ICETOOL,COND=(0,NE)
*
INCLUDE MEMBER=SLBDFSRT
*
TOOLMSG DD SYSOUT=*
DFSMSG DD SYSOUT=*
TOOLIN DD DSN=ALC.ACPD.PARMLIB(DCZUP03A),
DISP=SHR
CTL1CNTL DD DSN=ALC.ACPD.PARMLIB(DCZUP03B),
DISP=SHR
CTL2CNTL DD DSN=ALC.ACPD.PARMLIB(DCZUP03C),
DISP=SHR
*
INFILE DD DSN=&HLQ..CZ.PDCZTR01.S010F01(0),
DISP=SHR
*
OUTFIL1 DD DSN=&&TEMP01,
DISP=(,PASS),
UNIT=SYSDA,
SPACE=(TRK,(1,1),RLSE)
*
SYSIN DD DUMMY
SYSPRINT DD SYSOUT=*
IOCOUNTS DD SYSOUT=*,OUTLIM=1000
SYSOUT DD SYSOUT=*
ABENDAID DD SYSOUT=*
SYSUDUMP DD SYSOUT=*
SNAPSHOT DD SYSOUT=*
|
Code:
Code: |
TOOLIN is
COPY FROM(INFILE) USING(CTL1)
COUNT FROM(OUTFIL1) EMPTY USING(CTL2)
CTL1CNTL is
OUTFIL FNAMES=OUTFIL1,REMOVECC,NODETAIL,
TRAILER1=(12,6,7:COUNT-1=(M11,LENGTH=6))
CTL2CNTL is
INCLUDE COND=(5,6,ZD,EQ,11,6,ZD)
|
My i/p file is Fb file and the records are like this
Code: |
"Mr","Doctra","jkascscaj","isccsl",jdhdj"
"Mr","sbjs","bjjwfk","bjsjsc","bjscjscxx"
"Mr","fjwj","bjccbb","bdhjjk","ndjdjdbn"
TRAILER000003. |
please explain what the ICETOOL will do for my input file? |
|