Configuring IMS to execute rules through WOLA

You can configure IMS™ to execute rules on Rule Execution Server on WebSphere® Application Server for z/OS® through WOLA.

Before you begin

Note the following requirements:
  • Rule Execution Server on WebSphere Application Server for z/OS supports IMS versions 11 and 12.
  • IMS applications can run in a message processing region (MPR) or a batch processing region (BMP). Applications that use DL/I calls are not supported.
  • IMS and Decision Server for z/OS must run in the same logical partition (LPAR).

About this task

To enable z/OS applications (COBOL or PL/I applications) to call Rule Execution Server through WOLA, you configure Rule Execution Server and WOLA on the same instance of WebSphere Application Server for z/OS. Then you modify the IMS startup data, and initialize the SHBRPARM(HBRWOLA) data set member. If your applications run in a message processing region, you must also update the message processing region JCL.

For more information about the IMS-specific installation and setup requirements, see Enabling optimized local adapters support in IMS.

Procedure

  1. Create an external subsystem IMS PROCLIB member, or update your existing member to include the following entry: WOLA,BBOA,BBOAIEMT. For example:
    1. View your IMS CTRL started task (for example XXXXCTRL) and search for SSM=
    2. If SSM= does not have a value, add one, for example WOLA. In either case make a note of this 1 to 4 character value. The following shows a fragment of member XXXXCTRL showing SSM=WOLA:
      // PROC RGN=0M,SOUT=A,DPTY='(14,15)',
      // SYS=,SYS1=,SYS2=,
      // RGSUF=IMS,PARM1='SSM=WOLA',PARM2=
      // IEFPROC EXEC PGM=DFSMVRC0,DPRTY=&DPTY,
      // REGION=&RGN,
      // PARM='CTL,&RGSUF,&PARM1,&PARM2' 
    3. Create (or open existing) IMS PROCLIB dataset member of name XXXXYYYY (where XXXX is your IMS systems ID and YYYY is the SSM value from step b). For example, IM2AWOLA if your IMS has ID IM2A and you assigned SSM=WOLA.
    4. Add this line to the dataset member: WOLA,BBOA,BBOAIEMT. Then save the dataset member.
    5. Repeat steps a and b to ensure a value for SSM is also present in the IMS PROCLIB member DFSMPR, which defines values for message processing regions.
  2. Include the WOLA load library in the STEPLIB and the DFSESL DD statements in your IMS control region startup JCL.
  3. If your IMS applications run in a message processing region, make the following changes to the message processing region JCL:
    1. Add an HBRENVPR DD statement that specifies the zRule Execution Server for z/OS instance to execute rules. For example:
      //HBRENVPR DD DISP=SHR,
      // DSN=WODM.HBRR.CUSTMISE.HBRR.SHBRPARM(HBRWOLA)
    2. Add the load library that contains your IMS application to the STEPLIB and DFSESL DD statements. For example:
      // DD DSN=WODM.HBRR.BASE.SHBRLOAD,DISP=SHR 
      Note: For optimum performance, consider putting the load library at the top of the STEPLIB or in the pageable link pack area (PLPA). For more information, see the Choosing IMS options for performance section in the IMS information center.
  4. To connect to a Liberty server through WOLA, you must grant RACF permission for the owner of the IMS started task <IMSUSER>, to the Liberty WOLA dataset. Use the following RACF commands:
    PERMIT BBG.WOLA.* CLASS(CBIND) ID(<IMSUSER>) ACCESS(READ)
    SETROPTS RACLIST(CBIND) REFRESH 
  5. Use HBRCON and HBRDISC to connect and disconnect at rule execution time; this is necessary because the pre-intialization routine used for connecting to a stand-alone Rule Execution Server cannot be used with WOLA.
  6. Restart IMS to register the changes.