writing file

Hi All,

I want to write a mapping method from one file to another. So far I have writtent a code to read a file and get records in String

strRecord [1]=00017578442P1060054J7994630106518W6E999350975147 65& 00001

Q 06910U$U$U$00001

Q 06924000-6000- 00001

Q 0693RTRAN41832900014RTRAD42510400001

Q

This is my record now I wan to create another record by reading byte from above string and mapping with this file, can any suggest good way to do this, I have to map around 30-40 bytes.

[532 byte] By [sameer_13va] at [2007-11-27 10:56:54]
# 1

Mapping what to where? Sorry?

CeciNEstPasUnProgrammeura at 2007-7-29 12:05:43 > top of Java-index,Java Essentials,Java Programming...
# 2

mapping from record from one .txt file to another .txt file

sameer_13va at 2007-7-29 12:05:43 > top of Java-index,Java Essentials,Java Programming...
# 3

> mapping from record from one .txt file to another .txt file

I'm not sure what you mean with "mapping". Especially since "mapping" needs two values and not just one. Could you please try and explain your problem more clearly?

CeciNEstPasUnProgrammeura at 2007-7-29 12:05:43 > top of Java-index,Java Essentials,Java Programming...
# 4

for example in the above case I have a file with records. now I have to read record from another file and map it to first file based on rule

from file2 take values at postion 2-10 and replace with values in file1 at postion 42-50 and so on.

sameer_13va at 2007-7-29 12:05:43 > top of Java-index,Java Essentials,Java Programming...