Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
Something is off somewhere. I've included the start of SMF Header/Self-Defining Section for type 42 in the SMF manual:
Code:
Offsets Name Length Format Description
0 0 SMF42RCL 2 binary Record length. This field and the next field (total of four bytes) form the record descriptor word (RDW). See Standard SMF record header for a detailed description.
2 2 SMF42SGD 2 binary Segment descriptor (see record length field). This is zero, if the record is not spanned.
4 4 SMF42FLG 1 binary System indicator flags
Bit
Meaning when set
0
Subsystem identification follows system identification.
1
Subtypes are used
2
Reserved
3-6
Version indicators*
7
Reserved.
*See Standard SMF record header for a detailed description.
5 5 SMF42RTY 1 binary Record type 42 (X'2A').
6 6 SMF42TME 4 binary Time since midnight, in hundredths of a second, when the record was moved into the SMF buffer.
10 A SMF42DTE 4 packed Date when the record was moved into the SMF buffer, in the form 0cyydddF. See Standard SMF record header for a detailed description.
14 E SMF42SID 4 EBCDIC System identification (from the SID parameter).
18 12 SMF42SSI 4 EBCDIC Subsystem identification.
22 16 SMF42STY 2 binary Record subtype.
The record type is at offset 5, not 6 -- and offset 5 would be byte 2 in the record. The subtype is at offset 22, which is byte 19 in the record. I don't recall offhand if ICETOOL works on offsets or record bytes but in either case, you need to adjust your positions.
Thanks for your help Joerg! I believe
I should review the smf table to improve understanding ...
I ran the jcl, and the size error message appeared ...
ICE218A 1 18 BYTE VARIABLE RECORD IS SHORTER THAN 24 BYTE MINIMUM
I tried to see it in another post and found something like this to be added:
INREC IFTHEN = (WHEN = (1,2, BI, LT, 24), OVERLAY = (24: X))
... but I think I couldn't adjust it.
The post I saw was this:
"Receiving ICE218A message for shorter length record"
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
Quote:
18 BYTE VARIABLE RECORD IS SHORTER THAN 24 BYTE MINIMUM
The header and trailer records (type 2 and 3) for SMF are 18 bytes long (unless you start using the new subtypes for record type 2 in which case the record length can be up to 612 bytes), so when you specify
Code:
INCLUDE COND=(6,1,BI,EQ,42,AND,23,2,BI,EQ,9)
you're attempting to use bytes of the record that don't exist.