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 IndexIBM MQ API SupportPCF call to get queue name from AS400 machine

Post new topicReply to topic Goto page Previous  1, 2
PCF call to get queue name from AS400 machine View previous topic :: View next topic
Author Message
hughson
PostPosted: Wed Mar 04, 2020 7:31 pm Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1347
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
View user's profile Send private message Visit poster's website
markt
PostPosted: Thu Mar 05, 2020 1:44 am Post subject: Reply with quote

Chevalier

Joined: 14 May 2002
Posts: 433

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
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum IndexIBM MQ API SupportPCF call to get queue name from AS400 machine
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.