code-pages indication
A code-pages indication is a b3270 protocol message that indicates the set of host code pages supported.
In XML, it has no attributes and contains a series of code-page indications. It is sent only within the initialize indication.
In JSON, it is an element of the initialize indication. It consists of an array of objects with the following attributes:
Member | Always present? | Type | Purpose |
---|---|---|---|
name | yes | string | Code page canonical name |
aliases | no | array(string) | Aliases |
Example (XML)
<initialize> ... <code-pages> <code-page name="cp1140" alias1="us-euro"/> ... </code-pages> </initialize>
Example (JSON)
New in 4.2
{ "initialize": [ ... { "code-pages": [ { "name": "cp1140", "aliases": [ "us-euro" ] }, ... ] } ... ] }