z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


GetSmsg

z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
SC27-3660-00

Your program should call this procedure after receiving an SMSGreceived notification. Each call to GetSmsg retrieves one queued Smsg. Your program should exhaust all queued Smsgs by calling GetSmsg repeatedly until the Success field returns with a value of FALSE. After a value of FALSE is returned, do not call GetSmsg again until you receive another SMSGreceived notification. Figure 1 shows an example of the GetSmsg procedure.

Figure 1. GetSmsg example
   procedure GetSMsg
            (
        var    Smsg: SmsgType;
        var    Success: Boolean;
            );
            external;
Parameter
Description
Smsg
Set to the returned Smsg if Success is set to TRUE.
Success
If Smsg returned TRUE; otherwise FALSE.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014