I didn't see any type 3 events in my SMAPI testcase, but the type 0,1,5 
ones match up with the CP Programming Services manual "Receiving Events". 
Since the *VMEVENT (format 0) events can be bundled, I used the *VMEVENT 
type field to determine the total event data length. (12,13,14 bytes) 

Here is some sample output from the SMAPI Event_Subscribe (6.1 SPE) after 
my testcase formatted it and/or did a D T on the buffer:

===>Socket event buffer length of 28 received. 
***dumping entire socket buffer using: CP D T3D22008.1c (->3D22024) 
R03D22000  0A53C6F5 0000001C 00000000 00000000 E6 *..F5............* 
R03D22010  E2D4C1D7 C3F0F5C4 00000005 E2D4C1D7    *SMAPC05D....SMAP* 
R03D22020  C3F0F5C4 00000000 00000000 00000000    *C05D............* 
-+-+-+-+-+-+ Event found. -+-+-+-+-+-+ 
----> *VMEVENT format 0 class 0 type 0 event size 12 
***dumping just this format 0 event using: CP D T3D2200C.c 
R03D22000  0A53C6F5 0000001C 00000000 00000000 E6 *..F5............* 
R03D22010  E2D4C1D7 C3F0F5C4 00000005 E2D4C1D7    *SMAPC05D....SMAP* 
-+-+-+-+-+-+ Event found. -+-+-+-+-+-+ 
----> *VMEVENT format 0 class 0 type 5 event size 12 
***dumping just this format 0 event using: CP D T3D22018.c 
R03D22010  E2D4C1D7 C3F0F5C4 00000005 E2D4C1D7 E6 *SMAPC05D....SMAP* 
R03D22020  C3F0F5C4 00000000 00000000 00000000    *C05D............* 
------------------- 





Chuck Brazie 
bra...@us.ibm.com




From:   David Boyes <dbo...@sinenomine.net>
To:     IBMVM@LISTSERV.UARK.EDU
Date:   01/24/2011 01:43 PM
Subject:        Re: Forced logoff by SYSTEM?
Sent by:        The IBM z/VM Operating System <IBMVM@LISTSERV.UARK.EDU>



> AND, if you connect to the *VMEVENT system service, you can be notified
> any time a guest goes into "disconnect timeout pending" state

Quick question: how is the data field in the VMEVENT message formatted? 
There's a layout for parsing the TRGCLS, but not the data. Is it literally 
userid","code or...? 

Reply via email to