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 IndexWebSphere Message Broker (ACE) SupportUsing BITSTREAM

Post new topicReply to topic
Using BITSTREAM View previous topic :: View next topic
Author Message
mqbrk_newbie
PostPosted: Thu Oct 07, 2004 9:10 am Post subject: Using BITSTREAM Reply with quote

Acolyte

Joined: 13 Sep 2004
Posts: 70

hi,

I am using WBIMB5+CSD2 . I have input messages both of XML and copybook definition. That is basically I am using WBIMB for the following conversion.
XML-CWf,
XML-XML,
CWF-XML

What ever the input message that I am getting either XML or copybook definition I need to send those message exactly in the same format for Logging details .I used ASBITSSTREAM function for that writing esql code as follows:

DECLARE cdataChar CHARACTER CAST(ASBITSTREAM(OutputRoot.XML.lgs.tmp) AS CHARACTER CCSID InputRoot.MQMD.CodedCharSetId).

It was working fine and I was getting the message When I deployed on windows Platform. My broker is on Z/OS . When I tried the same thing on Z/OS . It was not working for me . I was getting the some junk input messages like shown below:

<lgs dts="2004-10-07-13.01.45.759?é(ÅʬãËË/ÍÁË&#158;&#142;ÊÁÉÍÁËÈ&#158;&#142;Á/ÑêÁÉÍÁËÈâ?À`&#158;&#142;Á/ÑêÁÉÍÁËÈ(ÁËË/ÅÁ&#158;&#142;ì(<&#158;|ÊÑÅÑ>/%(ÁËË/ÅÁ&#158;âÊ?,ÁÊ(ÁËË/ÅÁ&#158;]]></lgs>

So I changed my codine like this :

DECLARE cdataChar CHARACTER CAST(ASBITSTREAM(OutputRoot.XML.lgs.tmp) AS CHARACTER CCSID 37)

Now its working fine for Z/OS , but not on windows.

Is there any way that I can see the input message no matter whatever platform I deploy..

Thanks in advance for help...
Back to top
View user's profile Send private message Yahoo Messenger
mqsidude
PostPosted: Thu Oct 07, 2004 10:31 pm Post subject: Reply with quote

Centurion

Joined: 22 Jan 2004
Posts: 148

I would capture the CCSID valus in a variable from the input message MQMD header and use it while casting instead of harding it. This will ensure that the right value is used whatever your platform is.
Back to top
View user's profile Send private message
kirani
PostPosted: Thu Oct 07, 2004 10:58 pm Post subject: Reply with quote

Jedi Knight

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

How are you verifying your output? If you are looking it on the queue then you need to change CCSID and Encoding of the message before you output on queue on the m/f.
_________________
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
RAJESHRAMAKRISHNAN
PostPosted: Mon Oct 11, 2004 2:55 am Post subject: Reply with quote

Voyager

Joined: 01 May 2004
Posts: 96

I haven't worked on WBIMB5 but have heard that there is something called BAR file. If you use the MQInput node's convert option, I guess this might be of use.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Oct 11, 2004 9:48 am Post subject: Reply with quote

Jedi Knight

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

Convert option on MQInput node uses MQGMO_CONVERT option on MQGET call. You can convert only plain text messages using this option. You cannot use this if your message contains any binary data, for example, COMP-3, double etc.
_________________
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
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportUsing BITSTREAM
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.