inserting new row for a column
Posted: Thu Mar 21, 2013 8:01 pm
Hi,
I have a file having input as given below:
The expected output is:
I think this can be achieved by inserting a row for 2nd column.. I don't know if this approach is reasonable or not.. Please suggest me on this for a better approach...
the value in the second column can be extracted as below:
column1 of row1 + column2 of row1 = column2 of row2
is it possible to achieve this by using JCL..
I have a file having input as given below:
12 12
12 24
3 27
10 37
10 47
12 59
12 24
3 27
10 37
10 47
12 59
The expected output is:
12
12 12
3 24
10 27
10 37
12 47
12 12
3 24
10 27
10 37
12 47
I think this can be achieved by inserting a row for 2nd column.. I don't know if this approach is reasonable or not.. Please suggest me on this for a better approach...
the value in the second column can be extracted as below:
column1 of row1 + column2 of row1 = column2 of row2
is it possible to achieve this by using JCL..