HP P9000 Business Continuity Manager User Guide

Use the local time when specifying the start date and time of the log data to output.
If the STARTTIME operand is omitted, 1900/01/01,00:00:00 is used. If only
the time is omitted, 00:00:00 is used.
ENDTIME(yyyy/mm/dd[,hh:mm:ss])
Use the local time when specifying the stop date and time of the log data to output.
If the ENDTIME operand is omitted, 2042/09/17,23:53:47 is used. If only the
time is omitted, 23:59:59 is used. However, if 2042/09/17 is specified for the
date, 23:53:47 will be used for the time.
COND(JOBNAME,EQ,value)
Specify the conditions for log data to be output to an external dataset.
JOBNAME
Specify the name of the job. Specify INIT as the job name to output a batch
job log obtained using version 2.0 or earlier to an external dataset.
value
Specify the name of the job, using up to 8 characters. Enclose the specified
value in single quotation marks (').
Example Control Statements
Specify Business Continuity Manager logs whose log acquisition date is within the range from
2004/03/24 00:00 to 2004/03/24 23:59 as follows:
RANGE STARTTIME(2004/03/24,00:00:00) ENDTIME(2004/03/24,23:59:59)
Specify logs whose log acquisition date is within the range from 2004/03/24 00:00 to
2004/03/24 23:59 and whose job name is either USER01T or USER01 as follows:
RANGE STARTTIME(2004/03/24,00:00:00) ENDTIME(2004/03/24,23:59:59)
SELECT COND(JOBNAME,EQ,'USER01T')
SELECT COND(JOBNAME,EQ,'USER01')
Example JCL
The following is a JCL of the Business Continuity Manager log data output tool.
//YUKON01 JOB
// EXEC PGM=YKLOGCP
//OUTLOG DD DSN=YUKON.LOG.DATA,DISP=(NEW,KEEP),
// SPACE=(CYL,(100,10)),VOL=SER=WKVL01,UNIT=DASD
//SYSPRINT DD SYSOUT=A
//SYSIN DD DUMMY
Error Processing
When a SYSIN DD Statement is not specified, or no Control Statement exists:
All log data for the system logger service is output to an external dataset.
When an error occurs during an I/O for Control Statement File (SYSIN):
An OS I/O error message is output, and processing is canceled.
When a Control Statement Error occurs:
The YKZ205E message is output to SYSPRINT, and processing is canceled.
When format of dataset for Control Statement File (SYSIN) is invalid:
The YKZ268E message is output to SYSPRINT, and processing is canceled.
Collecting Logs 565