z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Records sent by the server to the client: Token record

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

The server sends the tmi_token record when a buffer has been filled with records for the given service. The token record can be recognized as having a TmiHr_Id value that is equal to the TmiHr_PktTok value (in the case of SYSTCPDA and SYSTCPOT) or the TmiHr_SmfTok value (in the case of SYSTCPCN and SYSTCPSM). In addition, each of the servers will, after a brief period of inactivity, flush a partially filled buffer, sending a token for that partial buffer and advancing to the next internal buffer.

The format of this record is as follows, as defined in ezbytmih.h (an assembler mapping for this structure is in EZBYTMIA):
struct tmi_token
{
struct tmi_header    tmik_hdr;         /* Record header */
char                 tmik_token[32];   /* Token representing buffer */
};

The tmik_token record contains a token describing the data buffer. The client's actions upon receiving this record are discussed in Real-time NMI: Copying the real-time data.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014