Previous Topic: HAF Message Format

Next Topic: Samples for Determining HAF Message Numbers


Determining HAF Message Numbers

To determine a HAF message number (mm)

  1. Look up the hexadecimal value of the event type in the document IBM System z Application Programming Interfaces manual (SB10-7030-11).

    The number will have either no bits or a single bit on. Use the following table to determine the HAF message number.

  2. Find the position of the bit that is on by numbering the bit positions from right to left with the rightmost position being 1. Consider no bits on to be position 0. Add one to the position to obtain the HAF message number.
  3. Use the following table to find the mm value that corresponds to the hexadecimal event value.

Hexadecimal Event Value

mm Value in HAFxmmnn

 

Hexadecimal Event Value

mm Value in HAFxmmnn

0x00000000

01

 

0x00010000

18

0x00000001

02

 

0x00020000

19

0x00000002

03

 

0x00040000

20

0x00000004

04

 

0x00080000

21

0x00000008

05

 

0x00100000

22

0x00000010

06

 

0x00200000

23

0x00000020

07

 

0x00400000

24

0x00000040

08

 

0x00800000

25

0x00000080

09

 

0x01000000

26

0x00000100

10

 

0x02000000

27

0x00000200

11

 

0x04000000

28

0x00000400

12

 

0x08000000

29

0x00000800

13

 

0x10000000

30

0x00001000

14

 

0x20000000

31

0x00002000

15

 

0x40000000

32

0x00004000

16

 

0x80000000

33

0x00008000

17