IBM integer and double formats

Mark Dickinson dickinsm at gmail.com
Tue Nov 11 07:07:35 EST 2008


On Nov 11, 11:36 am, John Machin <sjmac... at lexicon.net> wrote:
> > wants to write the converted float out to an ASCII file, in hex.
>
> Sheesh. It's an *IBM mainframe* file. It would need to be in EBCDIC,
> not ASCII. But why guess? He said he wanted to write it out in SAS
> XPORT format.

Which is stored in ASCII, no?  From the link you gave earlier, 3rd
line of the introduction:

"All character data are stored in ASCII, regardless of the
operating system."

Mark



More information about the Python-list mailing list