Hi,
I am trying to write some utlity program, where I need to read a extract file from JAVA program. Extract is mainly written by C or COBOL process.
In Java, I already manage to get the information about the C or COBOL structure which is used to write the extract, like
Field (int, float, double, long chat etc)
Starting position
Storage (e.g, int will take 4 bytes. float will take 8 bytes etc).
Now I need some guidence, what should I use to read first 4 bytes and convert it into int. and same for other type too.
Thanks,
Amar
I am trying to write some utlity program, where I need to read a extract file from JAVA program. Extract is mainly written by C or COBOL process.
In Java, I already manage to get the information about the C or COBOL structure which is used to write the extract, like
Field (int, float, double, long chat etc)
Starting position
Storage (e.g, int will take 4 bytes. float will take 8 bytes etc).
Now I need some guidence, what should I use to read first 4 bytes and convert it into int. and same for other type too.
Thanks,
Amar