HP XP P9500 Storage User Manual

Page 154

Advertising
background image

2.

Create log datasets.

For the log dataset, specify the amount of the initial allocation only. The specification of any
additional allocation is ignored.

The following shows the format of the log dataset.

• RECFM: VB
• LRECL: 8196
• BLKSIZE: 8200

The following shows an example of creating log datasets in TSO/E.

ALLOC DS('USER01.YKLOG01') VOL(WKVL01) NEW SP(100) CYL DSORG(PS) RECFM(V,B) LRECL(8196) BLKSIZE(8200)

ALLOC DS('USER01.YKLOG02') VOL(WKVL01) NEW SP(100) CYL DSORG(PS) RECFM(V,B) LRECL(8196) BLKSIZE(8200)

3.

Allocate the log datasets.

• For TSO/E, use the

ALLOC

command to allocate DD name

YKLOG01

and DD name

YKLOG02

to log datasets.

• When using JCL, specify DD statement

YKLOG01

and DD statement

YKLOG02

in the JCL.

The following shows a specification example in TSO/E.

ALLOC DD(YKLOG01) DS('USER01.YKLOG01') OLD

ALLOC DD(YKLOG02) DS('USER01.YKLOG02') OLD

The following shows a JCL specification example.

//YKLOG01 DD DSN='USER01.YKLOG01',DISP=OLD,VOL=SER=WKVL01,UNIT=DASD

//YKLOG02 DD DSN='USER01.YKLOG02',DISP=OLD,VOL=SER=WKVL01,UNIT=DASD

Allocate a log dataset for each job. When the job terminates, another job can reuse that log dataset.
In this case, logs are added to the end of the previous log output.

Note, however, that you need to reallocate a new log dataset rather than using the existing one in
the following cases:

An I/O error occurred in the log dataset.

The OS went down.

Related topics

Disk space requirements for the event log when the system logger service is not used

, page 156

Writing to a log dataset without using the system logger service

This subsection describes how to write data to a log dataset without using the system logger service.
How the data is written depends on the number of allocated log datasets.

Collecting trace information and logs

154

Advertising