Hello All,
In our cobol mainframe program, which we are migrating to java, there is a batch which gets the input file (in text format) and then sorts it in a particular oder (same as order by in sql query).
Sometimes it orders by first three characters, followed by 24-25 characters and then 50-55 characters in each line. (multiple column ordering). So the whole file is reorderd in particular format.
I do not know whether this is spring batch related question, but wanted to check whether gurus out there aware of doing this using Spring Batch? This needs to be a separate job, so it has to be written in Spring Batch.
OR best mechanism is to load each record in the file to a database and then fire an order by query and write the result to a new file?? I am worried about the performance here.
Thanks!


Reply With Quote

