Cancel File Transfer (92)

Top  Previous  Next

The Cancel File Transfer function causes any current EHLLAPI initiated Send File or Receive File for the specified session to immediately return.

 

3270

5250

Yes

Yes

 

 

Prerequisite Calls

 

Send File (90) or Receive File (91)

 

 

Call Parameters

 

 

Enhanced Interface

Function Number

Must be 92

Data String

1-character short name of the host presentation space. A blank or null indicates 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

 

 

Remarks

 

Since both Send File (90) and Receive File (91) are blocking calls, this function must always be issued on a different thread.