Author |
Message
|
ydsk |
Posted: Mon Mar 12, 2007 9:49 am Post subject: CONVERT option on SENDER channels |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
Hi,
My scenario:
C++ client appl <-->AIX 5.3 qmgr <--> z/OS MQ v6 qmgr <-->IMS bridge <--> IMS
It's a request response.
We are using point-2-point connections, and no clusters.
Now do I need to set the CONVERT property to 'YES' on both the sender channel definitions between AIX and z/OS qmgrs for the data to be understood by either systems correctly ?
I am using the same MQMD options as specified in the program in this link:
http://www-304.ibm.com/jct09002c/isv/tech/sample_code/mq/imsbridge.cpp
Please post any suggestions.
thank you for your time.
ydsk. |
|
Back to top |
|
 |
Michael Dag |
Posted: Mon Mar 12, 2007 10:15 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
what makes you think you have to put the CONVERT on the Sender channels?
normally the get does the convert...
suppose the following scenario where the z/OS is an intermediate QueueMgr...
AIX QMgr -*> z/OS QMgr -*> AIX QMgr -> Windows Qmgr...
that would result in 2 (see *) unnecessary converts... _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
ydsk |
Posted: Mon Mar 12, 2007 10:33 am Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
But my data is going from C++ appl ( on Windows) to AIX and then onto mainframe finally for processing by IMS.
Then it comes back on the same path.
I was told by an experienced mainframe MQ guy that I need to change the property from 'No' to 'Yes'.
I thought I'd ask for a second opinion.
Thanks.
ydsk. |
|
Back to top |
|
 |
Michael Dag |
Posted: Mon Mar 12, 2007 10:38 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
it doesn't matter were it came from or where it is going...
convert on channels is only necessary if the GETing Application is NOT doing the conversion on the MQGET...
if that is the case for the IMS Bridge... I just don't know. _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Mon Mar 12, 2007 11:43 am Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
The IMS Bridge does not do any conversion on the get.
Quote: |
Data conversion
The data conversion (including calling any necessary exits) is performed by the distributed queuing facility when it puts a message to a destination queue that has XCF information defined for its storage class. Any exits needed must be available to the distributed queuing facility in the data set referenced by the CSQXLIB DD statement. This means that you can send messages to an IMS application using the WebSphere MQ-IMS bridge from any WebSphere MQ platform.
Note:
Because the WebSphere MQ-IMS bridge does not convert messages when it gets a message, messages arriving through the CICS(R) distributed queuing facility are not converted.
If there are conversion errors, the message is put to the queue unconverted; this results eventually in it being treated as an error by the WebSphere MQ-IMS bridge, because the bridge cannot recognize the header format. If a conversion error occurs, an error message is sent to the z/OS console.
See Writing data-conversion exits for detailed information about data conversion in general. |
So, either set CONVERT(YES) on the channel, or write a data-conversion exit.
Steve |
|
Back to top |
|
 |
ydsk |
Posted: Tue Mar 13, 2007 1:34 pm Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
Thanks TorontoMQ.
But I think changing the CONVERT property from NO to YES shouldn't adversely affect anything because it only converts if the data isn't already in the right CCSID.
Am I right ?
Pls correct me if I am wrong.
thnx.
ydsk. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Mar 13, 2007 1:55 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
ydsk wrote: |
Thanks TorontoMQ.
But I think changing the CONVERT property from NO to YES shouldn't adversely affect anything because it only converts if the data isn't already in the right CCSID.
Am I right ?
Pls correct me if I am wrong.
thnx.
ydsk. |
No there is definitely an adverse effect if the channel is used in multi hopping.
You want the channel on the default path to the MF not to have Convert turned on and create a specific channel to the MF for the messages to the IMS bridge that has Convert turned on.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|