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 » General IBM MQ Support » PYMQI Channel Name

Post new topic  Reply to topic
 PYMQI Channel Name « View previous topic :: View next topic » 
Author Message
bobbee
PostPosted: Fri Apr 08, 2022 2:20 am    Post subject: PYMQI Channel Name Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 541
Location: Tampa

Given I have the numerical value.
channel_type = channel_info[pymqi.CMQCFC.MQIACH_CHANNEL_TYPE]

Is there a way in PYMQI to get the Channel Type name. I can build a look up table. But figured there is an easier way.

Code:
/* Channel Types */
 #define MQCHT_SENDER                   1
 #define MQCHT_SERVER                   2
 #define MQCHT_RECEIVER                 3
 #define MQCHT_REQUESTER                4
 #define MQCHT_ALL                      5
 #define MQCHT_CLNTCONN                 6
 #define MQCHT_SVRCONN                  7
 #define MQCHT_CLUSRCVR                 8
 #define MQCHT_CLUSSDR                  9
 #define MQCHT_MQTT                     10
 #define MQCHT_AMQP                     11
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » PYMQI Channel Name
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.