Spring batch to process mainframe Binary file

456 Views Asked by At

I am using simplebinarybufferedreader inside a flat file reader to read the mainframe binary file but for some reason I am having issues where the code will not read all the lines from the file and it only reads the first record and finishes the job. It is encoded as cp1047. I have seen your previous demos where you are using jrecord and cb2xml libraries to process mainframe binary files but we are trying to avoid using these libraries. Do you have a code snippet you can share how to process mainframe binary file without using cb2xml and jrecord. Thanks

0

There are 0 best solutions below