passthru indication

From The x3270 Wiki

A b3270 protocol message indicating that a registered passthru action has been invoked.

Attribute/Member Always present? Type Purpose
p-tag yes string b3270-generated tag
parent-r-tag no string UI-generated tag of parent
action yes string Action name
arg1 no string First argument (XML only)
argn no string Subsequent argument (XML only)
args no array(string) Arguments (JSON only) New in 4.2

The UI must respond to this indication with a succeed or fail operation, passing back in the same p-tag value to identify this particular invocation.

If the action was invoked by the UI via the run operation (directly or indirectly) the parent-r-tag will indicate the r-tag passed to run.

Example (XML)

<passthru p-tag="ui-1234" action="NewKeymap" arg1="special" arg2="foo"/>

Example (JSON)

New in 4.2

{ "passthru": { "p-tag": "ui-1234", "action": "NewKeymap", "args": [ "special", "foo" ] } }