fail operation

From The x3270 Wiki

A b3270 protocol message that completes a pass-through action, unsuccessfully.

Attribute/Member Required? Type Purpose
p-tag yes string Tag from the passthru indication
text yes XML: string
JSON: array(string)
Error message

p-tag is the tag that was originally sent by b3270 in a passthru indication.

text is an error message to return as the result of the action. In XML, multi-line text can be returned by embedding newline (
) characters. In JSON, the text is an array with one element for each line.



<fail p-tag="emu-99" text="Invalid operation"/>


New in 4.2

{"fail":{"p-tag":"emu-99","text":["Invalid operation"]}}