You do not have to spend a lot of time figuring out many of the features of EBCDIC. Given the limited scope of your problem, a simple approach to fulfilling your requirements is as follows:
- Implement a helper method that reads EBCDIC and creates
java.lang.StringJava source code (UTF-16) - Implement a helper method that accepts
java.lang.StringJava source encoding (UTF-16) and creates an EBCDIC encoded string - Use the first method to read data. Sort and do another treatment as needed. Use the second method to write data to the mainframe.
, EBCDIC - , , , . Java , , , , EBCDIC .