Home

 

C declaration

 

typedef struct tagMQCD MQCD;
struct tagMQCD {
  MQCHAR    ChannelName[20];           /* Channel definition name */
  MQLONG    Version;                   /* Structure version number */
  MQLONG    ChannelType;               /* Channel type */
  MQLONG    TransportType;             /* Transport type */
  MQCHAR    Desc[64];                  /* Channel description */
  MQCHAR    QMgrName[48];              /* Queue-manager name */
  MQCHAR    XmitQName[48];             /* Transmission queue name */
  MQCHAR    ShortConnectionName[20];   /* First 20 bytes of connection
                                          name */
  MQCHAR    MCAName[20];               /* Reserved */
  MQCHAR    ModeName[8];               /* LU 6.2 Mode name */
  MQCHAR    TpName[64];                /* LU 6.2 transaction program
                                          name */
  MQLONG    BatchSize;                 /* Batch size */
  MQLONG    DiscInterval;              /* Disconnect interval */
  MQLONG    ShortRetryCount;           /* Short retry count */
  MQLONG    ShortRetryInterval;        /* Short retry wait interval */
  MQLONG    LongRetryCount;            /* Long retry count */
  MQLONG    LongRetryInterval;         /* Long retry wait interval */
  MQCHAR    SecurityExit[n];           /* Channel security exit name */
  MQCHAR    MsgExit[n];                /* Channel message exit name */
  MQCHAR    SendExit[n];               /* Channel send exit name */
  MQCHAR    ReceiveExit[n];            /* Channel receive exit name */
  MQLONG    SeqNumberWrap;             /* Highest allowable message
                                          sequence number */
  MQLONG    MaxMsgLength;              /* Maximum message length */
  MQLONG    PutAuthority;              /* Put authority */
  MQLONG    DataConversion;            /* Data conversion */
  MQCHAR    SecurityUserData[32];      /* Channel security exit user
                                          data */
  MQCHAR    MsgUserData[32];           /* Channel message exit user
                                          data */
  MQCHAR    SendUserData[32];          /* Channel send exit user data */
  MQCHAR    ReceiveUserData[32];       /* Channel receive exit user
                                          data */
  MQCHAR    UserIdentifier[12];        /* User identifier */
  MQCHAR    Password[12];              /* Password */
  MQCHAR    MCAUserIdentifier[12];     /* First 12 bytes of MCA user
                                          identifier */
  MQLONG    MCAType;                   /* Message channel agent type */
  MQCHAR    ConnectionName[264];       /* Connection name */
  MQCHAR    RemoteUserIdentifier[12];  /* First 12 bytes of user
                                          identifier from partner */
  MQCHAR    RemotePassword[12];        /* Password from partner */
  MQCHAR    MsgRetryExit[n];           /* Channel message retry exit
                                          name */
  MQCHAR    MsgRetryUserData[32];      /* Channel message retry exit
                                          user data */
  MQLONG    MsgRetryCount;             /* Number of times MCA will try
                                          to put the message, after the
                                          first attempt has failed */
  MQLONG    MsgRetryInterval;          /* Minimum interval in
                                          milliseconds after which the
                                          open or put operation will be
                                          retried */
  MQLONG    HeartbeatInterval;         /* Time in seconds between
                                          heartbeat flows */
  MQLONG    BatchInterval;             /* Batch duration */
  MQLONG    NonPersistentMsgSpeed;     /* Speed at which nonpersistent
                                          messages are sent */
  MQLONG    StrucLength;               /* Length of MQCD structure */
  MQLONG    ExitNameLength;            /* Length of exit name */
  MQLONG    ExitDataLength;            /* Length of exit user data */
  MQLONG    MsgExitsDefined;           /* Number of message exits
                                          defined */
  MQLONG    SendExitsDefined;          /* Number of send exits
                                          defined */
  MQLONG    ReceiveExitsDefined;       /* Number of receive exits
                                          defined */
  MQPTR     MsgExitPtr;                /* Address of first MsgExit
                                          field */
  MQPTR     MsgUserDataPtr;            /* Address of first MsgUserData
                                          field */
  MQPTR     SendExitPtr;               /* Address of first SendExit
                                          field */
  MQPTR     SendUserDataPtr;           /* Address of first SendUserData
                                          field */
  MQPTR     ReceiveExitPtr;            /* Address of first ReceiveExit
                                          field */
  MQPTR     ReceiveUserDataPtr;        /* Address of first
                                          ReceiveUserData field */
  MQPTR     ClusterPtr;                /* Address of a list of cluster
                                          names */
  MQLONG    ClustersDefined;           /* Number of clusters to which
                                          the channel belongs */
  MQLONG    NetworkPriority;           /* Network priority */
  MQLONG    LongMCAUserIdLength;       /* Length of long MCA user
                                          identifier */
  MQLONG    LongRemoteUserIdLength;    /* Length of long remote user
                                          identifier */
  MQPTR     LongMCAUserIdPtr;          /* Address of long MCA user
                                          identifier */
  MQPTR     LongRemoteUserIdPtr;       /* Address of long remote user
                                          identifier */
  MQBYTE40  MCASecurityId;             /* MCA security identifier */
  MQBYTE40  RemoteSecurityId;          /* Remote security identifier */
  MQCHAR    SSLCipherSpec[32];         /* SSL CipherSpec */
  MQPTR     SSLPeerNamePtr;            /* Address of SSL peer name */
  MQLONG    SSLPeerNameLength;         /* Length of SSL peer name */
  MQLONG    SSLClientAuth;             /* Whether SSL client
                                          authentication is required */
  MQLONG    KeepAliveInterval;         /* Keepalive interval */
  MQCHAR    LocalAddress[48];          /* Local communications
                                          address */
  MQLONG    BatchHeartbeat;            /* Batch heartbeat interval */
  MQLONG    HdrCompList[2];            /* Header data compression list */
  MQLONG    MsgCompList[16];           /* Message data compression list */
  MQLONG    CLWLChannelRank;           /* Channel rank */
  MQLONG    CLWLChannelPriority;       /* Channel priority */
  MQLONG    CLWLChannelWeight;         /* Channel weight */
  MQLONG    ChannelMonitoring;         /* Channel Monitoring control */
  MQLONG    ChannelStatistics;         /* Channel Statistics*/
};

 

Parent topic:

MQCD – Channel definition


ic18920_


 

Home