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 » XML to MRM-CWF (hex, packed)

Post new topic  Reply to topic Goto page Previous  1, 2
 XML to MRM-CWF (hex, packed) « View previous topic :: View next topic » 
Author Message
kirani
PostPosted: Mon Jun 02, 2003 10:27 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Goto your message set properties (CWF tab) and look for the property which indicates sign orientation for Packed Decimal fields.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
dkesel
PostPosted: Tue Jun 03, 2003 7:38 am    Post subject: Reply with quote

Newbie

Joined: 08 Nov 2002
Posts: 4

Hi Kiran,

I believe you only get the option to change the Sign Orientation option when you use the physical type of Extended Decimal which would be more like PIC S9(5) than PIC S9(5) COMP-3.

I currently have a Type of Decimal with a Physical Type of Packed Decimal with Signed set to Yes.

I am trying this on WQMI 2.1 CSD04. My input data is valid XML numerics.

Thanks very much,
Donna
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Jun 03, 2003 4:25 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Hi Donna,

We use these data types always, but we never had this kind of problem. I believe Sign orientation property at the element level is only applicable to Extended Decimals.

If you click on your message set, there will be properties (Run Time, CWF, Description, etc) displayed in the right pane. Click on CWF tab and then see what following properties are set to:
Byte Order
Packed Decimal Byte Order
Float Format

My values are set to Big Endian and S390.

What is the value set in MQMD header for CCSID and Encoding for your message?

Hope this helps.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
fschofer
PostPosted: Wed Jun 04, 2003 1:56 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi Donna,

try to set your encoding to 785.
SET "OutputRoot"."MQMD"."Encoding" = 785;

Thats what Support Pack ih03 use if you select host integer and host pd format.


According to "Working with Messages" the Byte Order
is set according to the value of MQMD Encoding

Quote:
Byte Order:
Select either Big Endian (the default) or Little Endian from the
drop-down list to specify the byte order of numbers that are represented
as binary integers.
In C, this is equivalent to data type short or long. In COBOL, this is
equivalent to a PIC 9 COMP, COMP-4, COMP-5 or BINARY data type.
Your choice must match the encoding with which messages are created.
Big Endian is normally the correct option for messages created on UNIX
or z/OS, Little Endian for Windows NT.

This property is not used if the message is received across the MQSeries
transport protocol: in this case, the property is deduced from the MQMD
of the message, or from the broker queue manager’s encoding.


Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML to MRM-CWF (hex, packed)
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.