Parameter | Reference | Type | Length | Default | Optional | Text |
---|---|---|---|---|---|---|
CTRLCODE | RSCPTYPE-CTRLCODE | C | 1 | '.' | X | How codepage converter converts control codes |
INBYTE | X | X | 0 | Input text | ||
INCODE | TCP00-CPCODEPAGE | N | 4 | '0000' | X | |
METHOD | I | I | 4 | 1 | X | |
OUTCODE | TCP00-CPCODEPAGE | N | 4 | '0000' | X | Intermediate character set with replacements |
Parameter | Reference | Type | Length | Text |
---|---|---|---|---|
OUTBUFF | 0 | Output Text | ||
OUTBYTE | X | X | 0 | Output Text |
OUTUSED | I | I | 4 | Output text length |
OUT_AS_CHAR4 | C | C | 0 |
Exception | Text |
---|---|
CANNOT_CONVERT | There was no replacement for a char. in INTEXT |
FIELDS_BAD_TYPE | |
INTERNAL_ERROR | Internal Error |
INVALID_CODEPAGE | Unknown character set |