Hi,
I have a batch file in which the first line is the batch header info and the rest is dataline records. I want to get the 14th and 15th fields from the first line and add those two digits after 24th field of every dataline in the batch.
$$$BRS133010305BRS ACCT FEED * NM05
0610401001410 0103BRS
0610401001410 0103BRS
0610431001420 0103BRS
0610905001800 0103BRS
The output should look like this
$$$BRS133010305BRS ACCT FEED * NM05
0610401001410 010305BRS
0610401001410 010305BRS
0610431001420 010305BRS
0610905001800 010305BRS
Can anyone suggest me how to achieve this?
Thanks
Kaan
I have a batch file in which the first line is the batch header info and the rest is dataline records. I want to get the 14th and 15th fields from the first line and add those two digits after 24th field of every dataline in the batch.
$$$BRS133010305BRS ACCT FEED * NM05
0610401001410 0103BRS
0610401001410 0103BRS
0610431001420 0103BRS
0610905001800 0103BRS
The output should look like this
$$$BRS133010305BRS ACCT FEED * NM05
0610401001410 010305BRS
0610401001410 010305BRS
0610431001420 010305BRS
0610905001800 010305BRS
Can anyone suggest me how to achieve this?
Thanks
Kaan