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 » WebSphere Message Broker (ACE) Support » MRM in packed format

Post new topic  Reply to topic
 MRM in packed format « View previous topic :: View next topic » 
Author Message
leetc
PostPosted: Thu Feb 06, 2003 2:00 am    Post subject: MRM in packed format Reply with quote

Newbie

Joined: 14 May 2002
Posts: 8

Hi, i would like to know how do i pack a message in byte form ? ie,
Compound type :
a.Customer Account
1. Customer name - 10 bytes
2. Customer balance - 10 bytes
let's say the customer name is : ABC
and customer balance is 123
than, in packed message format will be;

41 42 43 20 20 20 20 20
20 20 31 32 33 20 20 20
20 20 20 20

Thanks
-Thiam Cheng
Back to top
View user's profile Send private message
leetc
PostPosted: Thu Feb 06, 2003 5:28 pm    Post subject: MRM in packed format Reply with quote

Newbie

Joined: 14 May 2002
Posts: 8

I made a mistake, the packed format that required is :


41 42 43 20 20 20 20 20
20 20 12 34 20 20 20 20
20 20 20 20

in this case, i have changed the value for customer balance to 1234, instead of 123 to made the balance a full 2 bytes value.

-Thiam Cheng
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 » WebSphere Message Broker (ACE) Support » MRM in packed format
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.