HP XP Command View Advanced Edition Software User Manual
Page 216
Procedure
1.
Estimate the log dataset capacity.
Estimate the amount of log data based on the frequency at which CLI commands are issued and
the frequency of errors. Allocate enough space to ensure that log data can be output until a
backup of the log dataset is created in one sequential dataset.
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
Collecting trace information and logs
216