Posted: Fri Jun 07, 2002 8:29 am Post subject: Channel status through PCF
Acolyte
Joined: 28 Feb 2002 Posts: 50
I am using PCF commands for finding the channel status. When channel is inactive i am getting 3065. But when channel is either running or stopped, it is giving channel status as 0 (MQCHS_BINDING). I am using VB for issuing PCF commands. I suspect it has something to do with the data structure. Here are my data types for command and response.
Private Type PCFInquireChannelStatus
Header As MQCFH
' Required parameters
ChannelName As MQCFST
ChannelName_String As String * MQ_CHANNEL_NAME_LENGTH
End Type
Private Type ResponsePCFInquireChannelStatus
Header As MQCFH
ChannelName As MQCFST
ChannelName_String As String * MQ_CHANNEL_NAME_LENGTH
XmitQName As MQCFST
XmitQName_String As String * MQ_Q_NAME_LENGTH
ConName As MQCFST
ConName_String As String * MQ_CONN_NAME_LENGTH
ChaInstType As MQCFIN
ChannelType As MQCFIN
ChannelStatus As MQCFIN
indoubt As MQCFIN
lastseq As MQCFIN
lastlu As MQCFST
lastlu_str As String * MQ_LUWID_LENGTH
currentMsgs As MQCFIN
curseq As MQCFIN
curlu As MQCFST
curlu_str As String * MQ_LUWID_LENGTH
LastMsgTime As MQCFST
lastmsgtime_str As String * MQ_CHANNEL_TIME_LENGTH
LastMsgDate As MQCFST
lastmsgdate_str As String * MQ_CHANNEL_DATE_LENGTH
Msgs As MQCFIN
BytesSent As MQCFIN
BytesReceived As MQCFIN
Batches As MQCFIN
ChannelStartTime As MQCFST
channelstarttime_str As String * MQ_CHANNEL_TIME_LENGTH
ChannelStartDate As MQCFST
channelstartdate_str As String * MQ_CHANNEL_DATE_LENGTH
BuffersSent As MQCFIN
BuffersReceived As MQCFIN
LongRetriesLeft As MQCFIN
ShortRetriesLeft As MQCFIN
MCAJobName As MQCFST
mcajobname_str As String * MQ_MCA_JOB_NAME_LENGTH
MCAStatus As MQCFIN
StopRequested As MQCFIN
BatchSize As MQCFIN
HeartbeatInterval As MQCFIN
NonPersistentMsgSpeed As MQCFIN
End Type
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