How to check TIME fields with TMSGRW
search cancel

How to check TIME fields with TMSGRW

book

Article ID: 190411

calendar_today

Updated On:

Products

CA 1 Flexible Storage

Issue/Introduction

What needs to be defined in the TMSGRW CONTROL SECTION to check for CTIME or LTIME?

Resolution

CTIME (Creation Time) and LTIME (Last Used Time) are 3 byte packed fields in the TMC Volume or DSNB record. The format is X'0HHMMF'.
These fields are defined in TMSGRW as packed fields with format HHMM. For example

DEFINE MCTIME PD 'HHMM'   
DEFINE MLTIME PD 'HHMM'