Customizing the WLM application environment for running IBM MQ user-defined function support

To run the Db2 MQ user-defined functions, you must configure a WLM environment and the corresponding WLM startup procedure.

Procedure

Configure the following WLM environment.
DSNWLM_MQSERIES
This environment is appropriate for running Db2 IBM MQ functions. Job DSNTIJMV creates an address space procedure for DSNWLM_MQSERIES that is called DSNWLMM. The name and library name of this procedure change according to the Db2 subsystem name that is specified on panel DSNTIPM. For example, if the subsystem name is VA1A, the procedure is named VA1AWLMM.
DSNWLM_MQSERIES has the following characteristics:
NUMTCB 10
APF-authorized No
Special DDs: None
Other considerations:
  • IBM MQ run time libraries must be allocated by the STEPLIB DD if they are not included in the system link list. Example:
    
    //STEPLIB DD DISP=SHR,DSN=prefix.RUNLIB.LOAD
    //        DD DISP=SHR,DSN=prefix.SCEERUN
    //        DD DISP=SHR,DSN=prefix.SDSNEXIT
    //        DD DISP=SHR,DSN=prefix.SDSNLOAD
    //* Uncomment the following if not included in the LINKLIST
    //*       DD DISP=SHR,DSN=prefix.SCSQLOAD
    //*       DD DISP=SHR,DSN=prefix.SCSQAUTH
    //*       DD DISP=SHR,DSN=prefix.SCSQANL
    
  • The STEPLIB DD must include DSN=prefix.SDSNEXIT or other library where the authorization exit modules (DSN3@ATH and DSN3@SGN) reside.