Example jcl, Error processing, Data format – HP XP Racks User Manual

Page 723: Example jcl error processing data format

Advertising
background image

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 JCL of the Business Continuity Manager log data output tool.

//YUKON01 JOB
// EXEC PGM=YKLOGCP
//STEPLIB DD DSN=BCM.VXXXXXX.HDSYLNKT,DISP=SHR
//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.

Data Format

The format for the SYSIN dataset is as follows:

Dataset format: Sequential dataset in the fixed-length record format

Record length: 80 bytes

Block size: Optional (multiple of 80)

An input control statement is not required.

Table 129 (page 723)

shows the output formats of the Business Continuity Manager log data output

tool.

Table 129 Output format of Business Continuity Manager Log Data Output Tool

Description

Output Contents

Length

Offset

Output data length = 32 + log data length (n)

Output data length

2

+X'00'

'0000'X

Reserved

2

+X'02'

For the first record: '01' X

Division flag 1

1

+X'04'

Collecting Logs 723

Advertising
This manual is related to the following products: