java - Why do I get an incorrect value for MQIACF_OBJECT_TYPE in Authority Record query response? -
i have following code querying authority records mq.
pcfmessageagent agent = new pcfmessageagent(queuemanager); agent.setcheckresponses(false); pcfmessage[] responses; pcfmessage request = new pcfmessage(mqconstants.mqcmd_inquire_auth_recs); request.addparameter(mqconstants.mqiacf_auth_options, mqconstants.mqauthopt_name_all_matching + mqconstants.mqauthopt_entity_explicit + mqconstants.mqauthopt_name_as_wildcard); request.addparameter(mqconstants.mqcacf_auth_profile_name, "*"); request.addparameter(mqconstants.mqiacf_object_type, mqconstants.mqot_all); responses = agent.send(request);
when process response value of 1017
parameter mqiacf_object_type
.
documentation show following values mqiacf_object_type
mqot_alias_q 1002 mqot_all 1001 mqot_auth_info 7 mqot_cf_struc 10 mqot_channel 6 mqot_clntconn_channel 1014 mqot_current_channel 1011 mqot_local_q 1004 mqot_model_q 1003 mqot_namelist 2 mqot_process 3 mqot_q 1 mqot_q_mgr 5 mqot_receiver_channel 1010 mqot_remote_q 1005 mqot_requester_channel 1009 mqot_reserved_1 999 mqot_saved_channel 1012 mqot_sender_channel 1007 mqot_server_channel 1008 mqot_storage_class 4 mqot_svrconn_channel 1013
why getting value 1017
?
combination of various other values?
if yes how know ones?, because can arrive @ number 1017
through several combination of above values.
as per https://www.ibm.com/support/knowledgecenter/ssfksj_9.0.0/com.ibm.mq.ref.dev.doc/q092140_.htm
1017 mqot_remote_q_mgr_name
for completeness, here's list of mqot_ constants 9.0.0.0 installation
#define mqot_none 0 #define mqot_q 1 #define mqot_namelist 2 #define mqot_process 3 #define mqot_storage_class 4 #define mqot_q_mgr 5 #define mqot_channel 6 #define mqot_auth_info 7 #define mqot_topic 8 #define mqot_comm_info 9 #define mqot_cf_struc 10 #define mqot_listener 11 #define mqot_service 12 #define mqot_reserved_1 999 #define mqot_all 1001 #define mqot_alias_q 1002 #define mqot_model_q 1003 #define mqot_local_q 1004 #define mqot_remote_q 1005 #define mqot_sender_channel 1007 #define mqot_server_channel 1008 #define mqot_requester_channel 1009 #define mqot_receiver_channel 1010 #define mqot_current_channel 1011 #define mqot_saved_channel 1012 #define mqot_svrconn_channel 1013 #define mqot_clntconn_channel 1014 #define mqot_short_channel 1015 #define mqot_chlauth 1016 #define mqot_remote_q_mgr_name 1017 #define mqot_prot_policy 1019 #define mqot_tt_channel 1020 #define mqot_amqp_channel 1021 #define mqot_auth_rec 1022
Comments
Post a Comment