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 » MQInput node question

Post new topic  Reply to topic
 MQInput node question « View previous topic :: View next topic » 
Author Message
dn415
PostPosted: Mon Aug 26, 2002 6:01 am    Post subject: MQInput node question Reply with quote

Novice

Joined: 01 Jul 2002
Posts: 10

Hi all,

Question about MQInput node. In the Advanced tab there is an option to
Convert Encoding and CCSID. Does this have anything to do with the MQGET
option MQGMO_CONVERT?

The Convert options in that tab are not documented, can someone shed some
light on what exactly they do? Do they convert the message payload to the
specified encoding and CCSID? Does the incoming message have to have format
MQSTR?

Thanks,
Duke
dn415@ucla.edu
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
bolek
PostPosted: Mon Aug 26, 2002 7:10 am    Post subject: Re: MQInput node question Reply with quote

Apprentice

Joined: 25 Jul 2002
Posts: 35
Location: Germany

Hi Duke,
check help for MQInput node( I have WMQI 2.1 CSD02 ):

"...
Check the Convert check box if you want MQSeries to perform data conversion on the message when it is retrieved from the queue.
This causes MQSeries to convert the incoming message to the encoding and coded character set specified in the MQMD that the input node supplies on the MQGET call to retrieve the message from the input queue. This also causes all output messages generated by this message flow to be generated using these values, and to be put to target queues with these Encoding and CodedCharSetID values set in the MQMD.
This property maps to the MQGMO_CONVERT option of the MQGMO of the MQI.
Clear the check box if you do not want the message to be converted by MQSeries.
If you check this box, you can also specify:
Convert Encoding. Enter the number representing the encoding to which you want numeric data in the message body to be converted. Valid values include:
546 for DOS and all Windows systems
273 for all UNIX systems
785 for z/OS systems
If you do not specify a value, the value in the incoming message MQMD is used.
If you specify an invalid value, no conversion is done.
Convert Coded Char Set ID. Enter the number representing the character set identifier to which you want character data in the message body to be converted.
If you do not specify a value, the value in the incoming message MQMD is used.
If you specify an invalid value, no conversion is done.

For more information about MQSeries data conversion, and why you might choose to use this option, see the MQSeries Application Programming Guide. For further information about the values that you can specify for Convert Encoding and CodedCharSetId, see the MQSeries Application Programming Reference guide."
Back to top
View user's profile Send private message
dn415
PostPosted: Mon Aug 26, 2002 8:29 am    Post subject: Reply with quote

Novice

Joined: 01 Jul 2002
Posts: 10

Hi Bolek,

Thanks for the reply!

Does anyone know if the ENCODING and CCSID are only applied to the message at an MQOutput node? Or is it applied right after the MQInput node. Because I have nodes in the middle of the flow that depend on the message already being a certain encoding and ccsid.

Thanks!
Duke
dn415@ucla.edu
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kirani
PostPosted: Mon Aug 26, 2002 2:36 pm    Post subject: Reply with quote

Jedi Knight

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

Duke,

The Encoding and CCSID will be applied by MQInput node. For example, if your input message's CCSID is 500 and Encoding is 785 and in your MQInput node you are converting your input message to CCSID - 437 and Encoding - 546, all nodes following MQINput node will refer to 437 and 546 values for CCSID and Encoding.

Hope this answers your question.
_________________
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
dn415
PostPosted: Tue Aug 27, 2002 12:40 am    Post subject: Reply with quote

Novice

Joined: 01 Jul 2002
Posts: 10

Thanks Kirani.

Works great

--Duke
dn415@ucla.edu
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQInput node question
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.