HP P9000 Business Continuity Manager User Guide
• LOWOFFLOAD
• LIKE
• MODEL
• DIAG
Planning a DASD Log Dataset
The system logger service assigns a VSAM linear dataset for the DASD log dataset and DASD
staging dataset. For details, see the MVS Setting Up a Sysplex.
Deleting a Log Stream
The following is an example of using JCL to delete a log stream when the log dataset is full.
//DEL1 EXEC PGM=IXCMIAPU
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DATA TYPE(LOGR)
DELETE LOGSTREAM NAME(log_stream_name)
/*
For details on the log stream name (log_stream_name) to be deleted via JCL, see “Which Parameters
to Specify for a Log Stream Definition” (page 559), and make the necessary changes according to
the environment.
Due to the restrictions of the system logger service, deleting a log stream while an application is
connected to the log stream results in an error. To delete a log stream, CLI command execution
should be suspended temporarily.
Confirming a Log Stream
The following JCL confirms the definition of a log stream, and the allocation of a log dataset.
//LIST1 EXEC PGM=IXCMIAPU
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DATA TYPE(LOGR) REPORT(YES)
LIST LOGSTREAM NAME(log_stream_name) DETAIL(YES)
/*
For details on the log stream name (log_stream_name) to be confirmed in JCL, see “Which
Parameters to Specify for a Log Stream Definition” (page 559), and apply modifications in
accordance with the environment.
Business Continuity Manager Log Output Method
Using System Logger Service
The system logger service uses one log stream.
A log is output using an API provided by the system logger service. Buffering is performed by the
system logger service. Buffering is not performed in Business Continuity Manager. Instead, a system
logger service API is called from the modules in Business Continuity Manager for each log that
needs to be output.
Since this log format is not a general-purpose log format, use the YKLOGCP program to output the
log to an external dataset. For details about the YKLOGCP program, see “Business Continuity
Manager Log Data Output Tool” (page 564).
When the log dataset becomes full, use YKLOGCP to output all the log data to an external dataset,
and then delete the Business Continuity Manager log stream by specifying the DELETE LOGSTREAM
NAME(log_stream_name) parameter in the IXCMIAPU utility.
Collecting Logs 561