This function is provided by an MQZAS_VERSION_3 authorization service component, and is invoked by the queue manager to refresh the list of authorizations held internally by the component.
The function identifier for this function (for MQZEP) is MQZID_REFRESH_CACHE (8L).
The name of the queue manager calling the component. This name is padded with blanks to the full length of the parameter; the name is not terminated by a null character.
The queue-manager name is passed to the component for information; the authorization service interface does not require the component to make use of it in any defined manner.
This data is kept by the queue manager on behalf of this particular component; any changes made to it by any of the functions provided by this component are preserved, and presented the next time one of this component's functions is called.
The length of this data area is passed by the queue manager in the ComponentDataLength parameter of the MQZ_INIT_AUTHORITY call.
The following values can be specified:
For MQZ_REFRESH_CACHE this has the same effect as MQZCI_CONTINUE.
It is one of the following:
If CompCode is MQCC_OK:
If CompCode is MQCC_FAILED:
For more information on this reason code, see the WebSphere MQ Application Programming Reference book.
MQZ_REFRESH_CACHE (QMgrName, ComponentData, &Continuation, &CompCode, &Reason);
Declare the parameters as follows:
MQCHAR48 QMgrName; /* Queue manager name */ MQBYTE ComponentData[n]; /* Component data */ MQLONG Continuation; /* Continuation indicator set by component */ MQLONG CompCode; /* Completion code */ MQLONG Reason; /* Reason code qualifying CompCode */
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
mqzrc |