Parameter | Description |
---|---|
Data String | RECEIVE command parameters. |
Data Length | Length of Data String. NA if session option EOT is specified. |
PS Position | NA |
Code | Description |
---|---|
WHLLOK | File transfer started successfully (asynchronous mode only). |
WHLLNOTCONNECTED | Parameter error or Data Length is zero or greater than 128. |
WHLLFTXCOMPLETE | The file transfer completed (synchronous mode only). |
WHLLFTXSEGMENTED | Transfer completed with one or more segmented records (synchronous mode only). |
WHLLSYSERROR | The function failed due to a system error. |
WHLLTRANSABORTED | The file transfer aborted, either due to the user entering CTRL+BREAK or (if a timeout was set by Set Session Parameters, function 9) because the timeout period expired. |
WHLLINVALIDFUNCTIONNUM | Invalid function number. |
WHLLFILENOTFOUND | PC file not found. |
WHLLACCESSDENIED | Access denied to PC file. |
WHLLMEMORY | Insufficient memory. |
WHLLINVALIDENVIRONMENT | Invalid environment. |
WHLLINVALIDFORMAT | Invalid format. |
• | Data String SALES.RPT E:SLS REPRT A (ASCII CRLF |
• | Data Length 35 |
wMsgID | Is the message ID returned by RegisterWindowsMessage. |
wParm | Is the status indicator: the high byte contains the short name session ID, the low byte contains the status. If the low byte is zero, the file transfer is still in progress. If the low byte is one, the file transfer has completed. |
lParm | Depends upon the low byte value of wParm. If the low byte of wParm is zero (in progress), lParm is the number of bytes that have been transferred. If the low byte of wParm is one (completed), lParm is the two-digit Host TRANS code. |