I am trying to add the values in columns for a record.. My input file is:
1 1 10
1 7 10
1 13 1
1 14 8
1 22 8
1 30 10
1 7 10
1 13 1
1 14 8
1 22 8
1 30 10
and expecting output as:
1 1 10 12
1 7 10 18
1 13 1 15
1 14 8 23
1 22 8 31
1 30 10 41
but output is coming as:
1 1 10 2100
1 7 10 8100
1 13 1 2400
1 14 8 9500
1 22 8 300
1 30 10 4100
1 7 10 8100
1 13 1 2400
1 14 8 9500
1 22 8 300
1 30 10 4100
My sysin card looks like:
OPTION COPY
OUTREC IFTHEN=(WHEN=INIT,
OVERLAY=(1,75,95:78,3,ZD,ADD,
81,4,ZD,ADD,87,4,ZD,EDIT=(IIIT)))
OUTREC IFTHEN=(WHEN=INIT,
OVERLAY=(1,75,95:78,3,ZD,ADD,
81,4,ZD,ADD,87,4,ZD,EDIT=(IIIT)))