Re: Convert EBCDIC data into an alphanumeric character strin
Posted: Thu Mar 17, 2011 10:52 am
02 01 01 21 7C
That is packed decimal so if you want to convert it to text you will have to unpack it first.
Mainframe Technical Support Forums
https://www.ibmmainframeforum.com/
02 01 01 21 7C
zoom wrote:I tried couple of tools but didn't get much help.
When i open the data file using Hex editor data looks : 02 01 01 21 7C
when i convert this to EBCDIC text , it is <STX><SOH><SOH><SOS>@ . But my target data should be 20101217.
Help should be appreciated.
prino wrote:Apparently it's Portuguese and Google translates it to:
BillyBoyo wrote:prino wrote:Apparently it's Portuguese and Google translates it to:
And this is a good example of how an ASCII to EBCDIC translation would screw up. "Sejam bem vindos" has been translated as though it was "Sejam bem" and "vindos". Other examples in the text, but for human readers we can get the gist (though not, here anyway and usually, the full meaning). For a computer, not so hot. I wonder what happens if you translate the English back to Portuguese? And then the English. I'll give you an English pound if it comes up with the same text, on either leg (and no, I haven't tried it myself).