On Wed, 14 Jan 2009 13:18:45 -0600, Walt Farrell <wfarr...@us.ibm.com> wrote:

>>Some C code which can convert from COMP-3 to int:
>>...snipped...
>
>Doesn't he also need to worry about big-endian vs little-endian differences
>between the creating machine and the reading machine?  Or does your code
>already account for that?
>
>--
>  Walt

The code, as shown, will work on either a Big-endian or Small-endian
machine. That's because I process the information byte-by-byte. It does
assume that the source machine, which was stated to be z/OS, is Big-endian.

--
John

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to