u0192 User Exit

User exit u0192 is for general output formatting. Output values can be literals, attribute values, or converted attribute values.

Syntax

u0192

format.spec

:

-> t

Parameter(s)

format.spec

h{nn} string

Places string in the output buffer. If nn is specified, the value is output starting at output column nn. If nn is omitted, the value is output at the current column position in the output buffer.

h{nn} %mm

Places the value located at the mm position of the primary input buffer into the current output buffer. If nn is specified, the value is output starting at column nn. If nn is omitted, then the value is output at the current column position in the output buffer.

h{nn} #mm

Places the value located at the mm position of the primary output buffer into the current output buffer. If nn is specified, the value is output starting at output column nn. If nn is omitted, the value is output at the current column position in the output buffer.

l

Reroutes output to the printer instead of the terminal. The terminal is reselected for output at the end of the user exit.

p{nn}

Page-ejects—the value, nn, places nn form feeds in the current output buffer. If nn is omitted, it is assumed to be 1.

s{nn}

Vertical spacing—the value, nn, places nn CR/LFs in the current output buffer. If nn is omitted, it is assumed to be 1.

v{nn} file.reference item.reference attribute.mark.count

Retrieves a specific value from an attribute in an item. If nn is specified, the value is output starting at output column nn. If nn is omitted, the value is output at the current column position in the output buffer.

x{nn}

Horizontal spacing—the value, nn, places nn spaces in the current output line. If nn is omitted, it is assumed to be 0.

*{nn} file.reference item.reference attribute.reference

Retrieves the specified value of an attribute in an item. If nn is specified, the value is output starting at output column nn. If nn is omitted, the value is output at the current column position in the output buffer. This is similar to the v format specification, with these important exceptions:

  • Value is referenced by the attribute name instead of the attribute number.

  • Conversion is performed as specified by the dictionary entry v/conv, before output.

-> t{+}

Format specification terminator. A space is required between -> and t. The t may optionally be followed by + to suppress the final CR/LF.

See Also

Proc Processor User Exits

t Command

u01a6 User Exit

u5193 User Exit