Tim Zielke
2014-07-18 18:21:28 UTC
Hello,
I was curious if anyone had run across this with MQ on Solaris SPARC.
I was doing some research on CPU endianness (for an MQTC session), and just read that the SPARC-V9 processor is a bi-endian processor for data access. So in other words, you can configure it to load and store data in either big or little endian format. The default is big endian.
That made me wonder about how MQ on Solaris SPARC would work, if a shop configured their SPARC-V9 processors to be little endian.
The MQ native encoding for Solaris SPARC is big endian.
cmqc.h: #define MQENC_NATIVE 0x00000111
I would think the Solaris SPARC queue manager would read MQLONG fields (i.e. Version, GMO Options, etc.) incorrectly, if a user did run the SPARC-V9 as little endian for data access.
I didn't see anything documented about this topic of SPARC-V9 being bi-endian in the MQ manual.
Just curious if anyone has run across this scenario of running the SPARC-V9 as a little endian processor (for data access) with MQ on Solaris.
Thanks,
Tim
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
I was curious if anyone had run across this with MQ on Solaris SPARC.
I was doing some research on CPU endianness (for an MQTC session), and just read that the SPARC-V9 processor is a bi-endian processor for data access. So in other words, you can configure it to load and store data in either big or little endian format. The default is big endian.
That made me wonder about how MQ on Solaris SPARC would work, if a shop configured their SPARC-V9 processors to be little endian.
The MQ native encoding for Solaris SPARC is big endian.
cmqc.h: #define MQENC_NATIVE 0x00000111
I would think the Solaris SPARC queue manager would read MQLONG fields (i.e. Version, GMO Options, etc.) incorrectly, if a user did run the SPARC-V9 as little endian for data access.
I didn't see anything documented about this topic of SPARC-V9 being bi-endian in the MQ manual.
Just curious if anyone has run across this scenario of running the SPARC-V9 as a little endian processor (for data access) with MQ on Solaris.
Thanks,
Tim
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html