You have to check all three fields of the triplet for zero (at least if your logic is to work across many SMF record types -- perhaps checking offset & count is adequate for SMF 30). Any one of them zero indicates no data.
Except! For DB2 SMF, where a zero length indicates the sections are of variable length, each prefixed by a 16-bit length field. Also, some SMF records use a triplet count or last triplet field somewhere around +X'20'. Exact fields in the SMF doc. You need to check that to make sure your triplet is there at all. This is why we get the big bucks ... Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of DanD Sent: Monday, November 6, 2017 8:24 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Odd SMF 30 data within IEFACTRT I still find this a little odd but it's explainable. The OFFSET field has a value but the COUNT field is zero. SMF30USO=000004C8 SMF30USL=0040 SMF30USN=0000 Why give an offset and length of a null segment. Weird, but I can code around it. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN