Using the ispf editor, Using a script for retrieval, Using the ispf editor using a script for retrieval – HP XP P9500 Storage User Manual

Page 660

Advertising
background image

YKFREEZE

YKLOAD

YKMAKE

YKQEXCTG

YKQRYDEV

YKQRYPTH

YKQUERY

YKRECVER

YKRESYNC

YKRUN

YKSCAN

YKSTATS

YKSTORE

YKSUSPND

There are two possible ways to retrieve the CLI command-execution logs from SYSLOG:

Using the ISPF editor

Using a script for retrieval

Using the ISPF Editor

To use the ISPF editor for retrieval:
1.

Create a dataset to which SYSLOG is to be output. For this example, the name of the sequential
dataset is assumed to be YUKON.BCMLOG.

2.

In the SDSF panel, display SYSLOG.

3.

In the panel displaying SYSLOG, enter commands to output SYSLOG for the desired period
to the dataset created in step 1.

To output the information between 13:00 and 14:00, enter as follows:

PT OSDN 'YUKON.BCMLOG'
PRT 13:00:00 14:00:00
PRINT CLOSE

4.

Use the ISPF editor to display the panel for editing the dataset created in step 3.

5.

In the ISPF editor, enter the following commands to delete all the lines except the CLI command
execution logs:

exclude p'YKZ31#I' all
delete all nx
reset
save

6.

Quit the ISPF editor.

Using a Script for Retrieval

To use a script for retrieval:
1.

Create a dataset to which SYSLOG is to be output. The name of the sequential dataset is
assumed to be YUKON.SYSLOG.

2.

Create a dataset to which only the CLI command-execution logs are to be output. The name
of the sequential dataset is assumed to be YUKON.BCMLOG.

660 Troubleshooting

Advertising