Posted: Wed Apr 19, 2006 1:19 am Post subject: Add Current year using DFSort / icetool
HI,
My input file looks like this :
Code:
1DATE/TIME OF THIS RUN: 060417 09.05
04/16 15.32.26 29 PROCESSED A3-STEP END
04/16 15.32.26 29 PROCESSED A3-STEP END
04/16 15.32.26 29 PROCESSED A3-STEP END
04/16 15.32.26 29 PROCESSED A3-STEP END
I want an output file which looks like this : (only using jcl through DFSort / Icetool)
Code:
1DATE/TIME OF THIS RUN: 060417 09.05
04/16/06 15.32.26 29 PROCESSED A3-STEP END
04/16/06 15.32.26 29 PROCESSED A3-STEP END
04/16/06 15.32.26 29 PROCESSED A3-STEP END
04/16/06 15.32.26 29 PROCESSED A3-STEP END
Joined: 26 Nov 2002 Posts: 12382 Topics: 75 Location: San Jose
Posted: Wed Apr 19, 2006 7:56 am Post subject:
chirag2901,
The following JCL will give you the desired results. I assumed that your input is 80 bytes in length and the year portion (YY) starts at pos 25 on the first record.
_________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum