The field at position 94 in the input file is s9(07) comp-3 date field. In our shop, the date formats are standard and defined as:
CYYMMDD where 'C' is century indicator. Where C = 0 implies 19 and C = 1 implies 20. However, I need to output date field in CCYYMMDD. We get CCYYMMDD by adding a value of '19000000' to the value at position 95.
So for example: a date value in comp-3 is '1100123' indicating Jan 23rd 2010. Adding 19000000 gives 20100123.
Need help in modifying my outrec fields to include the add and output in CCYYMMDD format.
_________________ 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