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 an initialize indication.

In JSON, it is an element of the initialize indication. It consists of an array of objects with the following attributes:

Example ( XML )
...     ...  

Example ( JSON )
{ "initialize": [ ...    { "code-pages": [ { "name": "cp1140", "aliases": [ "us-euro" ] }, ...      ]     }     ...   ] }