HP XP Command View Advanced Edition Software User Manual
Page 214

Related topics
• Control statements for the event log data output tool
• Output format of the event log data output tool
Control statements for the event log data output tool
A control statement specified in the DD statement
SYSIN
for the log data output tool (
KTLOGCP
)
contains a RANGE control statement, which specifies the time, and SELECT control statements, which
specify the job names.
If the DD statement
SYSIN
is not specified or if no control statement exists, all log data for the system
logger service will be output from the log stream to a dataset.
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>> <<if hh:mm:ss is omitted,
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>> <<if hh:mm:ss is omitted,
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)
~ <string of 8 or fewer characters>
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.
Collecting trace information and logs
214