I have definitely seen a zero length field - and I seem to recall also seeing x'01' as well.
I did report a few bugs in this area to IBM a while ago although my memory is slightly faded. Rob Scott Lead Developer Rocket Software 77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA Tel: +1.781.684.2305 Email: [email protected] Web: www.rocketsoftware.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Charles Mills Sent: 18 September 2013 16:44 To: [email protected] Subject: Re: SMF 120 subtype 9 Are you sure of what you say? I'm pretty familiar with the DB2 trace records. In my experience, the length in the triplet is always either "correct" (and typically more than 1) or else zero, which means the first 16 bits of the section contains the length. Any subdivision of the section is a separate matter. The triplet length is always (IMHO) the total length of the section, or zero. The comments in the DSNDQWSP assembly support me on this. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Rob Scott Sent: Wednesday, September 18, 2013 11:06 AM To: [email protected] Subject: Re: SMF 120 subtype 9 The length of the standard SMF header is 18 bytes (X'12') so a value of X'0B' looks wrong to me. Note that certain DB2 SMF records (and therefore it could include MQ) sometimes use a "blob" style triplet descriptor when the data pointed to by the triplet contains a variable amount of data which is subdivided into smaller structures - so seeing lengths of X'01' or 'X00' is not always indicative of a problem in that case. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
