|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
PCF call to get queue name from AS400 machine |
« View previous topic :: View next topic » |
Author |
Message
|
hughson |
Posted: Wed Mar 04, 2020 7:31 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
souciance wrote: |
hughson wrote: |
fjb_saper wrote: |
What CCSID did you assign to the PCFMessageAgent ? |
We can see from the provided code that it has not been explicitly set, which would mean it would default to MQCCSI_Q_MGR which is supposed to pick up the CCSID of the client locale.
fjb_saper wrote: |
Try and assign it CCSID 1208 and see if it makes a difference.  |
In case you don't know how to do this, I think you need:-
Code: |
MessageAgent.setCharacterSet(1208) |
Cheers
Morag |
Thanks for the hint but that method only seems to be available in the java version. There seems to be way to set the character set in the dotnet api, which given that it is 2020 seems somewhat strange. |
That's a shame. I had been under the impression that the two interfaces were supposed to be the same. Also, as I said, it actually shouldn't be necessary to set this anyway as it should pick up the correct value from the client locale. If it doesn't, that in itself would be a defect worth reporting to IBM. I would be quite curious to see what application activity trace shows the dot net pcf classes are actually doing, i.e. are they using MQGMO_CONVERT, and if they are not, adding that to the PMR.
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
markt |
Posted: Thu Mar 05, 2020 1:44 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
Unless things have changed very recently, the .Net PCF classes were never officially documented or supported. Some defects would occasionally get fixed but there were no guarantees.
Unlike the Java PCF classes, the PCFMessageAgent cannot for example, be used agains a z/OS queue manager as it doesn't understand the MQCFT_COMMAND_XR processing. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|