Is the XCOMHIST record order time sequenced
search cancel

Is the XCOMHIST record order time sequenced

book

Article ID: 368030

calendar_today

Updated On:

Products

XCOM Data Transport - z/OS XCOM Data Transport

Issue/Introduction

Would like to know the format of the XCOMHIST history records.
In particular the first 12 bytes which is not covered by the mapping in the Easytrieve sample report output by the XCOMJOBH job.

The first 4 bytes is a Julian date, so is the next 8 bytes time of day? What format is it ?

It's important to be able to sequence these records in time sequence order

Resolution

Referencing the macro HSTDSECT (SMF Record and History File) for field names.
The first 4 byte field is HSTDATE (Julian date format) and the second 8 byte field HSTTIME is the output of a STCK (Store Clock) instruction.  
The first 12 bytes of each record (HSTDATE + HSTTIME) are the base key for the XCOMHIST VSAM file. This by definition forces each record to be written in time sequence.