z/OS MVS Setting Up a Sysplex
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 3 - Have log streams with both values of GROUP(PRODUCTION) and GROUP(TEST)

z/OS MVS Setting Up a Sysplex
SA23-1399-00

To have some log streams with both values of GROUP(PRODUCTION) and GROUP(TEST), the approach is significantly different from the previous ones. There must be two distinct structures - one to hold one or more GROUP(PRODUCTION) log streams and the other to hold one or more GROUP(TEST) log streams. There should be active connections among all of the log streams, and the two structures must not only be known to LOGGER but to XES as well. Therefore, the new structure must be defined and activated through the CFRM policy.

Assume that there are log streams LS1, LS2, LS3, LS4, and LS5 with the value of GROUP(TEST) assigned to the structure STRUCA and assume that LS1, LS3, and LS5 need to be with the value of GROUP(PRODUCTION) while LS2 and LS4 remain with the value of GROUP(TEST).

  1. Use IXCMIAPU DEFINE to create a new structure, STRUCB.
     DEFINE STRUCTURE NAME(STRUCB) LOGSNUM(5)
  2. Disconnect all applications for log streams LS1, LS3 and LS5.
  3. Use IXCMIAPU UPDATE to assign LS1 to STRUCB with the attribute of GROUP(PRODUCTION):
    UPDATE LOGSTREAM NAME(LS1) STRUCTNAME(STRUCB) GROUP(PRODUCTION)
  4. Repeat this IXCMIAPU UPDATE for log streams LS3 and LS5 with GROUP(PRODUCTION) STRUCTNAME(STRUCB).

    There should now be logger structure STRUCA with log streams LS2 and LS4 with the value of GROUP(TEST) and a distinct second structure STRUCB with log streams LS1, LS3, and LS5 with the value of GROUP(PRODUCTION).

  5. Define the new structure, STRUCB, to XES with an update to the CFRM policy.
  6. Once defined to XES, activate the new CFRM policy before attempting to connect to log streams on the structure.

Now there are two distinct and active structures: STRUCA with log streams LS2 and LS4 that are with the GROUP(TEST) value and STRUCB with log streams LS1, LS3, and LS5 that are with the GROUP(PRODUCTION) value.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014