Author |
Message
|
satya_jammy |
Posted: Tue May 08, 2012 2:26 am Post subject: Issue with Publication Node |
|
|
Acolyte
Joined: 01 Oct 2009 Posts: 66
|
HI I am able to publish the messages in my flow using the publication node,Using the below code in WMB7
SET OutputRoot.MQMD.Format = MQFMT_RF_HEADER_2;
SET OutputRoot.MQRFH2.psc.Topic=topicName;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = 2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = 'MQSTR';
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;
SET OutputRoot.MQRFH2.psc.Command = 'Publish';
As My flow is deployed in AIX I was asked to change the NameValueCCSID from 1208 to 819.
I tested my flow using 819 as the NameValueCCSID and passed the message to the Publication node. But the Publication node is not publishing the messsage.My flow is simply getting terminated after the Message reaching the Publication node with out any error. When i retested the flow with 1208 as the NameValueCCSID ,The publication node is publishing the Message. Is any thing else needed to be coded while using 819 as a NameValueCCSID?Please help |
|
Back to top |
|
 |
mqjeff |
Posted: Tue May 08, 2012 3:30 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Not all CCSIDs are supported for NameValueCCSID. |
|
Back to top |
|
 |
satya_jammy |
Posted: Tue May 08, 2012 3:37 am Post subject: |
|
|
Acolyte
Joined: 01 Oct 2009 Posts: 66
|
Hi mqJeff,
Thanks for the reply. I am not sure about the Significance of the NameValueCCSID.(Trying to understand from the Help) Does the NameValueCCSID dependent on the environment we use..? In Aix what value i need to populate for this Field?. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue May 08, 2012 3:40 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The NameValueCCSID field is the CCSID for the name/value pairs you put in the MQRFH2.
Leave it at 1208.
Tell who ever asked you to change it to 819 to explain why they think that's a good change for this particular field. |
|
Back to top |
|
 |
rekarm01 |
Posted: Wed May 09, 2012 1:49 am Post subject: Re: Issue with Publication Node |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
|
Back to top |
|
 |
mapa |
Posted: Wed May 09, 2012 7:08 am Post subject: |
|
|
 Master
Joined: 09 Aug 2001 Posts: 257 Location: Malmö, Sweden
|
Perhaps worth mentioning is that in WMB V7 you can publish without creating a publish command message by using the Properties tree instead together with the publish node. |
|
Back to top |
|
 |
|