MessageWaiting
This property queries the connection’s operator information area to determine if the message waiting indicator is on. The MessageWaiting property is set to 1 if the message waiting indicator is on; otherwise, it is set to 0. MessageWaiting is an Integer data type and is read-only. The following example shows this property.
' Create a new lsxECLOIA object associated with connection A
' Assume connection A is a 5250 connection
dim myOIAObj as new lsxECLOIA("A")
' See if we have a message waiting on connection A
if myOIAObj.MessageWaiting then
call abcThe message waiting indicator is only used in connections of SessionType “DISP5250”. For other connection types, the MessageWaiting property is always set to 0.