Query Communication Event (81)

Top  Previous  Next

The Query Communication Event function lets the EHLLAPI program determine whether any communication events have occurred.

 

3270

5250

Yes

Yes

 

 

Prerequisite Calls

 

Start Communication Notification (80)

 

 

Call Parameters

 

 

Enhanced Interface

Function Number

Must be 81

Data String

1-character short name of the host presentation space or a blank or null indicating request for updates to the host-connected presentation space

Length

4 is implied

PS Position

NA

 

The calling data structure contains these elements:

 

Byte

Definition

1

A 1-character presentation space short name (PSID)

2-4

Reserved

 

 

Return Parameters

 

Return Code

Definition

0

The function was successful

1

An incorrect PSID was specified

8

No prior call to Start Communication Notification (80) function was called for the PSID

9

A system error was encountered

21

The indicated PSID was connected

22

The Indicated PSID was disconnected