I want to extract the records from position 5 to 8 in input file and to place that records in position 15 of o/p file. I tried followg code. But it erases the old contents of o/p file from position 1 to 14. I want to retain that contents. How to do that?
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
I think u wrongly understand my requirement. I did not want the contents from 1,14 of input file.
Everyone would wrongly understand your requirement. . . This would be due to the way it was posted. You asked a question about relocating some data (or so it appeared).
Then out of nowhere/somewhere came some output with names - previously unmentioned.
I will mention u clearly
When you do, please mention both input files. . . The dsorg and lrecl of the fles and any relevant fields should be mentoned as well as any rules for processing the inputs to get to the output you want.