If i'm not wrong, EBCDIC is AS400 (i5) encoding system... why don't you try with JTOpen or IBM Toolbox ? There should be
some utility classes that might help you in dealing with EBCDIC <-> ASCII conversion...
I'm not sure that this makes sense. The cited reference indicates that the 0x0A is the EBCDIC code for SMM and 0x4C is the EBCDIC for < so no conversion is necessary.
What format is your input? Are you asking that if you enter the characters '0' and then 'A' using the keyboard you want to convert this to a byte containing 0x0A?
Retired horse trader.
Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
Joined: Mar 26, 2006
Hi james & Claude,
Thanks for your quick reply. I have enclosed my input file
My requirement is to divide the file contents into header, data and footer
1. Header: First 8 bits
2. Data : next 4 bits after header contains the size of actual file data