SMF Report - Number of transmitted bytes
search cancel

SMF Report - Number of transmitted bytes

book

Article ID: 277052

calendar_today

Updated On:

Products

XCOM Data Transport - z/OS

Issue/Introduction

We will be creating a program that will use the XCOM SMF records in order to generate a report. As part of that report we would like to get the number of transmitted bytes for each transfer. The HSTDSECT and SMFDSECT provides the fields necessary for the information, but how do we get the correct counts when the number overflows.

Environment

XCOM Data Transport for z/OS 12.0

Resolution

The HSTDSECT and SMFDSECT provided have the following extension fields:

HST#UNC2 DS    F          NO. OF UNCOMPRESSED BYTES EXT
HST#CMP2 DS    F          NO. OF COMPRESSED BYTES EXT'N

The extension fields have to be multiplied by 2147483647 and added to the regular count fields (HST#UNCB and HST#CMPB) to get the actual counts.