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


Formatting a LOGR couple data set

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

Use the sample JCL to run the format utility for formatting couple data sets for the system logger service. The sample in Figure 1 shows formatting for both a primary and alternate couple data set for the LOGR policy.

Figure 1. Example of formatting a LOGR couple data set
//INVCDS    JOB
//* 
//* SAMPLE JCL TO FORMAT THE PRIMARY AND ALTERNATE 
//*   COUPLE DATA SETS FOR SYSTEM LOGGER (LOGR)
//* 
//* COUPLE DATA SET ALLOCATION RULES: 
//*
//*   1. SYSPLEX NAME IS REQUIRED AND IS 1-8 CHARACTERS 
//*   2. SYSPRINT DD IS A REQUIRED DD STATEMENT FOR FORMAT UTILITY MESSAGES
//*   3. SYSIN DD IS A REQUIRED DD STATEMENT FOR FORMAT UTILITY CONTROL STATEMENTS
//*
//*
//****************************************************************** 
//STEP1     EXEC  PGM=IXCL1DSU
//SYSPRINT  DD    SYSOUT=*   
//SYSIN     DD    * 
     DEFINEDS SYSPLEX(XLSDEV) 
              DSN(SLC.FDSS1) VOLSER(3380X1)
          DATA TYPE(LOGR)
               ITEM NAME(LSR) NUMBER(10)
               ITEM NAME(LSTRR) NUMBER(10)
               ITEM NAME(DSEXTENT) NUMBER(20)
     DEFINEDS SYSPLEX(XLSDEV)
              DSN(SLC.FDSS2) VOLSER(3380X2)
          DATA TYPE(LOGR)
               ITEM NAME(LSR) NUMBER(10)
               ITEM NAME(LSTRR) NUMBER(10)
               ITEM NAME(DSEXTENT) NUMBER(20)  
/* 
//STEP2     EXEC  PGM=IXCL1DSU 
//SYSPRINT  DD    SYSOUT=* 
//SYSIN     DD    *    
     DEFINEDS SYSPLEX(XLSDEV)
              DSN(SLC.FDSS12A) VOLSER(3380X3) 
          DATA TYPE(LOGR)
               ITEM NAME(LSR) NUMBER(10)
               ITEM NAME(LSTRR) NUMBER(10)
               ITEM NAME(DSEXTENT) NUMBER(20)
               ITEM NAME(SMDUPLEX) NUMBER(1)
     DEFINEDS SYSPLEX(XLSDEV) 
              DSN(SLC.FDSS12B) VOLSER(3380X4)
          DATA TYPE(LOGR)
               ITEM NAME(SMDUPLEX) NUMBER(1)
               ITEM NAME(LSR) NUMBER(10)
               ITEM NAME(LSTRR) NUMBER(10)
               ITEM NAME(DSEXTENT) NUMBER(20) 
/* 
Note: If you want the LOGR policy to be in an SMS-managed volume, specify the storage and management classes on the DEFINEDS statement. The parameter for storage class is STORCLAS. The parameter for management class is MGMTCLAS. For detailed information, see the description of the DEFINEDS parameters.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014