In our production sysplex we have over 15 lpars in it and to make maintenance easier and faster we share one set of libraries for Sysview. So I am trying to find a way to disable the IBM MQ on the systems that do not have MQ. When accessing Sysview on NON MQ systems we get the message GSVX998E MQSR048E MQ API module not found in JOBLIB/STEPLIB/TASKLIB or LINKLIST.
Release: R16
Component: SYSVIEW
Please specify the following to eliminate the messages for IBM MQ.
LPARS where MQ is supposed to be active or a global setting to enable the feature is set.
in the GSVXGSVX member (SCFGLIB library), have a statement for those LPARS where MQ is supposed to be active or a global setting to enable the feature, for example.
Option-WebSphereMQ YES
or
)IF 'SYSA SYSB SYSC' CN &SYSNAME
Option-WebSphereMQ YES
)ENDIF
Then in MQSERIES member include something similar to the following
)IF 'SYSC SYSE SYSD' CN &SYSNAME
API-LOAD-LIBRARY LINKLIST
)ENDIF
Then in SVW$MAIN something like the following
)IF FEATURE=WEBMQ
START MQSDATA,WARMSTART
)ENDIF
or perhaps
)IF 'SYSD SYSE SYSF' CN &SYSNAME
)IF FEATURE=WEBMQ
START MQSDATA,WARMSTART
)ENDIF
)ENDIF
Systems where MQ is not running
In the GSVXGSVX member (SCFGLIB library), include the following statements for those systems where MQ is not running.
)IF SYSNAME=SYSA (where SYSA is one of the systems)
Option-WebSphereMQ NO
)ENDIF
Then in the MQSERIES member in CNM4BPRM library, include a statement for each of those systems being excluded.
)IF SYSNAME=SYSA
API-LOAD-LIBRARY NONE
)ENDIF
Control Statements in Parameter Members
See section "Predefined Parameter 1 Keywords", keyword "FEATURE".