beautypg.com

HP XP P9500 Storage User Manual

Page 152

background image

Format of the RANGE control statement

RANGE{

1

STARTTIME(yyyy/mm/dd[,hh:mm:ss])

1

ENDTIME(yyyy/mm/dd[,hh:mm:ss])|

1

STARTTIME(yyyy/mm/dd[,hh:mm:ss])|

1

ENDTIME(yyyy/mm/dd[,hh:mm:ss])}

RANGE control statement operands

STARTTIME(yyyy/mm/dd

[

,hh:mm:ss

]

)

~ <<1900/01/01,00:00:00>> <

00:00:00>>

Use the local time to specify the start date and time of the log data to be output.

ENDTIME(yyyy/mm/dd

[

,hh:mm:ss

]

)

~ <<2042/09/17,23:53:47>> <

23:59:59>>

Use the local time to specify the end date and time of the log data to be output.

The RANGE control statement can be specified only once at the beginning of the first control statement
line.

Format of the SELECT control statement

SELECT

1

COND(JOBNAME,EQ,value)

SELECT control statement operands

COND(JOBNAME,EQ,value)

~

Specify the job name as a condition of the log data to be output from the log stream to a dataset.
Enclose the specified value in quotation marks (').

You can specify a maximum of 100 lines of SELECT control statements. If multiple lines are specified,
all log data that matches the control statements will be output from the log stream to a dataset.

Coding of the RANGE and SELECT control statements

A line beginning with an asterisk (*) is treated as a comment line.

Columns after the 73rd column in a control statement line are ignored.

Each control statement must be completely specified on one line. A control statement cannot extend
over two or more lines.

Control statement examples

To output the log data with acquisition dates in the range from 2013/03/24 00:00 to 2013/03/24
23:59, specify as follows.

RANGE STARTTIME(2013/03/24,00:00:00) ENDTIME(2013/03/24,23:59:59)

To output the log data with acquisition dates in the range from 2013/03/24 00:00 to 2013/03/24
23:59 and with the job names USER01T or USER01, specify as follows.

Collecting trace information and logs

152