beautypg.com

HP XP Command View Advanced Edition Software User Manual

Page 211

background image

Procedure

If a log dataset is full, execution of a CLI command will continue, but event log data will no longer
be output. Use either of the following management methods to prevent the log dataset from
becoming full.

• Automatically delete event log data (specify the

AUTODELETE(YES)

parameter when defining

the log stream).

• Periodically delete and re-define the log stream.

Use the IXCMIAPU utility with the

DELETE LOGSTREAM NAME(log_stream_name)

parameter specified to delete the log stream. The log dataset is deleted when the log stream
is deleted. For details, see the manual

MVS Setting Up a Sysplex

.

Related topics

Parameters specified when a log stream is defined

, page 208

JCL example for deleting a log stream

, page 210

Re-defining the log stream when the event log is full

If a log dataset is full, execution of CLI commands will continue, but event log data will no longer be
output. To resume the output of event log data, suspend the CLI command, and then delete and
re-define the log stream.

Procedure

1.

Suspend the CLI command.

2.

Use the event log data output tool (

KTLOGCP

) to output all log data from the log stream to a

dataset.

3.

Use the IXCMIAPU utility with the

DELETE LOGSTREAM NAME(log_stream_name)

parameter

specified to delete the log stream.

The log dataset is deleted when the log stream is deleted. For details, see the manual MVS Setting
Up a Sysplex
.

4.

Re-define the log stream.

5.

Log on to TSO/E again and then execute the CLI command.

Related topics

Parameters specified when a log stream is defined

, page 208

Outputting logs by using the event log data output tool

, page 213

JCL example for deleting a log stream

, page 210

Restarting the system logger service and re-defining the log stream when the
event log is full

If a log dataset is full, execution of CLI commands will continue, but event log data will no longer be
output. The log stream cannot be deleted during execution of a CLI command. Therefore, if the CLI
command cannot be stopped when a log dataset is full, you can restart the system logger service and
then delete and re-define the log stream to resume the output of event log data.

User Guide

211