Jcl example for confirming a log stream, Jcl example for deleting a log stream, 148 jcl example for deleting a log stream – HP XP P9500 Storage User Manual

Page 148

Advertising
background image

HLQ(CCENTRAL)

This parameter specifies that

CCENTRAL

is the high level qualifier used as a part of the log

dataset name. This parameter is optional. If this parameter is not specified, the default high level
qualifier

IXGLOGR

will be a part of the log dataset name.

The specification of the following parameters is optional.

HIGHOFFLOAD

LOWOFFLOAD

LIKE

MODEL

DIAG

JCL example for confirming a log stream

The following shows an example of JCL for confirming 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)

/*

JCL example for deleting a log stream

The following shows a JCL example used for deleting the 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)

/*

Preventing the event log from becoming full when the system logger service is
used

This subsection describes how to prevent the event log from becoming full when the system logger
service is used.

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.

Collecting trace information and logs

148

Advertising