ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » TSH Header - byte order settings

Post new topic  Reply to topic
 TSH Header - byte order settings « View previous topic :: View next topic » 
Author Message
Sukideman
PostPosted: Wed Nov 01, 2006 5:30 pm    Post subject: TSH Header - byte order settings Reply with quote

Newbie

Joined: 26 Sep 2006
Posts: 8
Location: Melbourne

Hi,

I got a question regarding TSH (transmission Segment Header). Noticed that the byte oder in TSH is stating Big Endian. We are currently running a TCP/IP trace using ethereal on solaris 10 machines. We got MQ version 6.0.1.0 installed on two machines (both solaris 10), and was wondering why would the byte order be big endian when we are on Unix machines, though I suppose its more internal to MQ the way it handles data. Would appreciate if anyone can shed some light on this.

regards


Sukideman
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Nov 01, 2006 5:58 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

"Network byte order" is big endian, so it makes sense for the TSH to be as well...
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Wed Nov 01, 2006 5:58 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

TSH is an undocumented internal header.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Sukideman
PostPosted: Wed Nov 01, 2006 6:20 pm    Post subject: Reply with quote

Newbie

Joined: 26 Sep 2006
Posts: 8
Location: Melbourne

I suppose i just wanted to know whether there was any configuration that I might i missed in terms on byte order settings.

Is there anyway we can get some info regarding the header?


regards

Sukideman
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 01, 2006 6:58 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I doubt it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Nov 02, 2006 1:31 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Sukideman wrote:
Is there anyway we can get some info regarding the header?

If you need these details, please talk to your account reps in the first instance. I expect a legal agreement would have to be made between you and IBM before such details can be disclosed.

Do you have any more specific questions?
Back to top
View user's profile Send private message
Nigelg
PostPosted: Thu Nov 02, 2006 3:04 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Quote:
We got MQ version 6.0.1.0 installed on two machines (both solaris 10),


The byte order in the TSH is the machine native ordering, not the O/S. Solaris 10 runs on Intel as well as Sparc architecture, so your machines must have Intel processors.

I find the terminology big- and little-endian rather confusing, and I have found the terms used to mean the same thing by different people!

I think big-endian means the usual UNIX ordering, i.e. 1 is represented in four bytes by the hex word 00 00 00 01, i.e. the first byte represents the most significant digits, and is the biggest.
So, little-endian is Windows ordering, where 1 is 01 00 00 00.

A more intuitive way of describing it is that UNIX is byte-ORDERED, i.e. the bytes are the same order as the usual (decimal) written representation of a number with the most significant digits first, and that Windows is byte-REVERSED, i.e. the bytes are in reverse order compared to the usual written number.

The TSH structure is IBM Confidential, so IBM will not disclose its contents to you without some serious negotiations taking place. The exception is the 10th byte, where the meaning of some of its possible values are exposed in the Intercomms manual.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
Sukideman
PostPosted: Wed Nov 08, 2006 8:27 pm    Post subject: Reply with quote

Newbie

Joined: 26 Sep 2006
Posts: 8
Location: Melbourne

Thank you all for the info..It does help in what i am doing..



regards

Sukideman
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » TSH Header - byte order settings
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.