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


Example 2 - Change the GROUP value for all the log streams in a structure

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

The following steps show an example of changing the GROUP value for all the log streams in a structure. Assume that there are log streams LS1, LS2, LS3, LS4, and LS5 in the structure STRUCA with the log streams all defined GROUP(TEST).

  1. Disconnect all applications for the log streams named above
  2. Use IXCMIAPU to define a new structure STRUCB:
    DEFINE STRUCTURE NAME(STRUCB) LOGSNUM(5) 

    There will be no GROUP value in the command D LOGGER,STR,STRN=STRUCB. Note that you only need to define this structure to the LOGR CDS and you do not need to define it to the CFRM policy. The LOGSNUM attribute should be at least equal to the number of log streams you are moving.

  3. Use IXCMIAPU to update the log stream LS1:
    UPDATE LOGSTREAM NAME(LS1) STRUCTNAME(STRUCB) GROUP(PRODUCTION)

    This step assigns STRUCB with GROUP(PRODUCTION) and changes log stream LS1 to GROUP(PRODUCTION).

  4. Do the same for log streams LS2, LS3, LS4, and LS5 by specifying STRUCTNAME(STRUCB) GROUP(PRODUCTION) on each IXCMIAPU UPDATE.

    When all log streams LS1, LS2, LS3, LS4, and LS5 in STRUCB are defined with the desired attribute of GROUP(PRODUCTION), the original structure STRUCA should have no log streams assigned to it. This allows the original log streams to be brought back into STRUCA with the value of GROUP(PRODUCTION).

  5. Use IXCMIAPU to update LS1 in STRUCB:
    UPDATE LOGSTREAM NAME(LS1)  STRUCTNAME(STRUCA)

    This step assigns STRUCA with the PRODUCTION value because log stream LS1 is already defined to GROUP(PRODUCTION).

  6. Do the same for log streams LS2, LS3, LS4, and LS5 in STRUCB by specifying STRUCTNAME(STRUCA). And then log streams LS1, LS2, LS3, LS4, and LS5 are assigned to structure STRUCA with the value of GROUP(PRODUCTION).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014