| Parameter | Reference | Type | Length | Default | Optional | Text |
|---|---|---|---|---|---|---|
| I_BIN_MODE | TREX_RFC-FLAG | C | 1 | X | if TRUE (=X) open file in binary mode | |
| I_FILE_PATH | TREXS_FILE-FILE_PATH | C | 1024 | File name pattern | ||
| I_FILE_SIZE | TREXS_FILE-SIZE | N | 16 | X | File size | |
| I_HOST | TREXS_FILE-HOST | C | 64 | Host | ||
| I_LINES | TREXT_LINES | h | 1024 | Content of the file | ||
| I_LINES_BIN | TREXX_LINES | h | 1024 | X | COntent of the file in BIN (RAW) format | |
| I_RFC_DESTINATION | TREX_RFC-RFC_DESTINATION | C | 32 | RFC destination to TREX engine |
| Parameter | Reference | Type | Length | Text |
|---|---|---|---|---|
| E_RETURN_CODE | TREX_RFC-RETURN_CODE | I | 4 | Return code |
| E_RETURN_TEXT | TREX_RFC-RETURN_TEXT | C | 200 | Return text |
| Exception | Text |
|---|---|
| CONVERSION_ERROR | Error during conversion to UTF-8 |
| ERROR | Error, see error message |
| NO_AUTHORIZATION |