The explanations have been posted...
S/390 is Big Endian. Little boxes can be either...
This little code snippet will tell you:

bool LittleEndian() {
 typedef union tag_LL {
          short llshort; 
          char llchar[2];
                } LL;
LL ll;

ll.llshort = 1;
if (ll.llchar[0] > ll.llchar[1])
        return(TRUE); /* Little Endian */
else
        return('FALSE'); /* Big Endian */
}

This bit me recently when I had to write a little MQ-IMS Bridge app. 

Bill

-----Original Message-----
From: Mark D Pace [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 11:24 AM
To: [EMAIL PROTECTED]
Subject: big and little endian


I keep seeing references to big endian and little endian.  I am going to
show off my ignorance here and ask - What does this mean?  I do not know
what the term endian means.

Thanks.



Mark D Pace
Senior Systems Engineer
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317
[EMAIL PROTECTED]
Office: 850.219.5184
Fax: 888.221.9862
http://www.mainline.com


This e-mail and files transmitted with it are confidential, and are
intended solely for the use of the individual or entity to whom this e-mail
is addressed.  If you are not the intended recipient, or the employee or
agent responsible to deliver it to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you are not one of the named
recipient(s) or otherwise have reason to believe that you received this
message in error, please immediately notify sender by e-mail, and destroy
the original message.  Thank You.

This e-mail and files transmitted with it are confidential, and are
intended solely for the use of the individual or entity to whom this e-mail
is addressed.  If you are not the intended recipient, or the employee or
agent responsible to deliver it to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you are not one of the named
recipient(s) or otherwise have reason to believe that you received this
message in error, please immediately notify sender by e-mail, and destroy
the original message.  Thank You.

Reply via email to