We have a VSAM (z/OS) file with text content. Am developing a java program to read and process this VSAM file using the IBM JZOS (FileFactory) library.
This development is happening using Eclipse in Windows platform.
I need to have the VSAM file in my windows machine to unit test my java code from my eclipse IDE.
Mainframe folks converted the VSAM file to a flat file (text file) and downloaded from mainframe to windows machine via FTP. But, when java code opens the file with proper encoding type, the characters read seem to be corrupted. For example character P is displayed as a special character which is neither a ASCII or EBCDIC representation of character P. I have verified with the hex value of that character as well.
How can i get the VSAM file to my windows machine without corrupting the content due to encoding differences between Mainframe and Windows ?