Reports show time of 00:00 when using FROM/TO time values with DATE
search cancel

Reports show time of 00:00 when using FROM/TO time values with DATE

book

Article ID: 26128

calendar_today

Updated On:

Products

Explore Performance Management for z/VSE

Issue/Introduction

When trying to run a report for a specific day using FROM/TO mm/dd/yy hh:mm:ss, the time on the report shows 00:00:00

 

Cause

 The EACH keyword is required when running a report for a specific day/time

  

Resolution

The report must include the EACH parm. EACH hour, EACH 15 minutes. If there is no value, it will default to DAY.

Sample JCL:

// EXEC EXPRPT
INPUT(EXPCARC)
FROM 02/03/16 13:44:59
TO 02/03/16 14:29:59
SELECT TRANID(nnnn)
DEFINE ID MYID TERMID ' ' TRANID
TAB DATETIME MYID DATASET REQUESTS AND DATASET UPDATES AND,
DATASET READS AND DATASET ADDS
EACH HOUR
END
RUN
/*