krk_kumar1
New User
Joined: 14 Mar 2006 Posts: 39
|
|
|
|
Hi,
My input file has the date in CCYYMMDD format (Start pos:56 , length:5) . Its a packed field and my sort control card already does the following manipulations on that field.
INREC IFTHEN=(WHEN=(56,5,PD,NE,NUM),
OVERLAY=(56:X'000000000F'))
SORT FIELDS=(56,5,PD,A)
OUTFIL FILES=01,
OUTREC=(1:C'##########',
11:C' ',
14:56,5,PD,EDIT=(TTTT/TT/TT)),
SECTIONS=(56,10,SKIP=1L)
In the outrec i need to add another field having the number of days between the system date (&DATE1) and the date in the input file.is it possible using SYNCSORT FOR Z/OS 1.3.2.2R ?
(E,g) If date in the input file is '20100901' and my system date is '20100904' .i need the output file to have the value as 3(IIIIIT edit format).
Note: My input file can have date values as 0000/00/00. |
|