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.

7.32 Prepare for logging<br />

Update CFRM policy to add list structures for use<br />

by DFSMStvs<br />

Update LOGR policy to add Coupling Facility<br />

structures needed for all log streams<br />

Define log streams for use by DFSMStvs as:<br />

Undo log<br />

Shunt log<br />

Log <strong>of</strong> logs<br />

Forward recovery logs<br />

Update data sets with LOG(NONE/UNDO/ALL) and<br />

LOGSTREAMID<br />

Figure 7-41 Prepare for logging<br />

Prepare for logging<br />

You have to define log structures in two places: the Coupling Facility resource management<br />

(CFRM) policy and the system logger LOGR policy. A policy is a couple data set.<br />

Furthermore, you need to define log streams for the various kinds <strong>of</strong> logs used by DFSMStvs.<br />

If a data set is forward recoverable, you also need to assign a log stream for forward recovery<br />

to this data set.<br />

Update the CFRM policy<br />

The CFRM policy is used to divide Coupling Facility space into structures. The CFRM policy<br />

enables you to define how MVS manages Coupling Facility resources. In 7.14, “Coupling<br />

Facility structures for RLS sharing” on page 397, we describe how to define CF structures for<br />

use be VSAM RLS. You need to run a similar job to either define a new CFRM policy or to<br />

update an existing CFRM policy with the structures that are used by the logger.<br />

A sample JCL you can use to define a new CFRM policy is shown in Figure 7-42 on<br />

page 434.<br />

Chapter 7. DFSMS Transactional VSAM Services 433

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

Saved successfully!

Ooh no, something went wrong!