11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LABEL JOB ...<br />

//STEP10 EXEC PGM=IXCMIAPU<br />

//SYSPRINT DD SYSOUT=A<br />

//SYSABEND DD SYSOUT=A<br />

//SYSIN DD *<br />

DATA TYPE(CFRM) REPORT(YES)<br />

DEFINE POLICY NAME(CFRM02) REPLACE(YES)<br />

STRUCTURE NAME(LOG_IGWLOG_001)<br />

SIZE(10240)<br />

INITSIZE(5120)<br />

PREFLIST(CF01,CF02)<br />

STRUCTURE NAME(LOG_IGWSHUNT_001)<br />

SIZE(10240)<br />

INITSIZE(5120)<br />

PREFLIST(CF01,CF02)<br />

STRUCTURE NAME(LOG_IGWLGLGS_001)<br />

SIZE(10240)<br />

INITSIZE(5120)<br />

PREFLIST(CF01,CF02)<br />

STRUCTURE NAME(LOG_FORWARD_001)<br />

SIZE(10240)<br />

INITSIZE(5120)<br />

PREFLIST(CF01,CF02)<br />

Figure<br />

/<br />

7-42 Example <strong>of</strong> defining structures in the CFRM policy<br />

Update the LOGR policy<br />

You must also define the Coupling Facility structures in the LOGR policy. The system logger<br />

component manages log streams based on the policy information that installations place in<br />

the LOGR policy.<br />

Multiple log streams can write data to a single Coupling Facility structure. This does not mean<br />

that the log data is merged; the log data stays segregated according to log stream.<br />

Figure 7-43 shows how to define the structures in the LOGR policy.<br />

//LABEL JOB ...<br />

//STEP10 EXEC PGM=IXCMIAPU<br />

//SYSPRINT DD SYSOUT=A<br />

//SYSABEND DD SYSOUT=A<br />

//SYSIN DD *<br />

DATA TYPE(LOGR) REPORT(YES)<br />

DEFINE STRUCTURE NAME(LOG_IGWLOG_001)<br />

LOGSNUM(10) MAXBUFSIZE(64000)<br />

AVGBUFSIZE(4096)<br />

DEFINE STRUCTURE NAME(LOG_IGWSHUNT_001)<br />

LOGSNUM(10) MAXBUFSIZE(64000)<br />

AVGBUFSIZE(4096)<br />

DEFINE STRUCTURE NAME(LOG_IGWLGLGS_001)<br />

LOGSNUM(10) MAXBUFSIZE(64000)<br />

AVGBUFSIZE(4096)<br />

DEFINE STRUCTURE NAME(LOG_FORWARD_001)<br />

LOGSNUM(20) MAXBUFSIZE(64000)<br />

AVGBUFSIZE(4096)<br />

/*<br />

Figure 7-43 Defining structures to the LOGR policy<br />

434 <strong>ABCs</strong> <strong>of</strong> z/<strong>OS</strong> <strong>System</strong> <strong>Programming</strong> <strong>Volume</strong> 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!