Jcl example for confirming a log stream, Jcl example for deleting a log stream, 210 jcl example for deleting a log stream – HP XP Command View Advanced Edition Software User Manual
Page 210
Specify the name of the SMS storage class used for allocating a log dataset. Specify this para-
meter when using an SMS definition.
AUTODELETE(YES)
Specify this parameter when automatically deleting event log data.
RETPD(retpd)
Specify this parameter when automatically deleting event log data. Specify the number of days
to retain event log data in the log stream.
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.
Collecting trace information and logs
210