Get System Status

3270 5250 VT
Yes Yes Yes
The Get System Status function returns the status of each 3270 or 5250 5250 session that is available with the current Personal Communications configuration. The client application sends the following message to retrieve the status data item:
PostMessage( hServerWnd,
             WM_DDE_REQUEST,
             hClientWnd,
             MAKELONG(cfFormat, aSTATUS) );
where:
cfFormat Identifies the DDE format for the data item requested. The value used is CF_TEXT.
aSTATUS Identifies status as the data item requested.