TIMECONV macro missing
search cancel

TIMECONV macro missing

book

Article ID: 236461

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

 

Easytrieve base product has  DATECONV macro, but not the TIMECONV.

I'm looking to convert the time from a SMF record to a report readable time.

 

Environment

Release : 11.6

Component : EASYTRIEVE REPORT GEN

Resolution

TIMECONV macro is part of Easytrieve toolkit, but if customer only has Easytrieve base product they can use the following.... 
EPTKDATE which is packaged with Easytrieve base product already has the logic to convert time. Here is the layout to use the module


DEFINE INPTIME       S       4     B    VALUE <time in hundreths of seconds>                      
DEFINE OUTTIME       S       4     B    <---output from EPTKDATE in HrMinSec format     
DEFINE COMMAND       S       8     A    VALUE ('TIMECONV')
                                  
  CALL EPTKDATE USING (COMMAND INPTIME OUTTIME)