Conversion of binary floating point data formats

Richard G. Anderson fed!m1rga00 at uunet.uu.net
Mon Apr 29 05:20:00 AEST 1991


I have a database on an IBM 370 mainframe that I need to use on a Sun 4 (a
Solbourne).  The database consists of a large matrix (about 1500x1500)
written in single precision unformatted fortran binary.  The database on
the mainframe is updated regularly by other programs and hence must remain
there.

I would like to move the file as a binary file to the Solbourne, rather
than converting it to characters and moving the ebcdic/ascii characters.
This appears to require conversion of the binary f.p. image from IBM's hex
representation to a Sun IEEE representation.  We could do this either on
the mainframe prior to transmission or on the Solbourne afterwards.

Is this reasonable?  I'm seeking software to do this conversion.  (Once,
as a grad student, I helped convert IBM 7090 f.p. binary to IBM 370 binary
-- I don't care to do such bit picking again!)  Either homegrown or
commercial software would be all right.

Thanks.

Richard Anderson, Federal Reserve Board

P.S.  Thanks for your responses to my previous message re TCP/IP networking.
      Your answers were correct.




More information about the Comp.sys.sun mailing list