u0192

u0192


u0191 Index Level u0193
Syntax u0192
format.spec
:
-> t
Category PROC
Type User Exit
Description used for general output formatting.

Output values can be literals, attribute values, or converted attribute values.

"Format.spec" may be one or more of the following values:

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 "mmth" 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 "mmth" 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

 Re-routes output to the printer instead of the terminal. The terminal is re-selected for output at the end of the user exit.

p{nn}

 Page-ejects. The value, "nn", places "nn" formfeeds in the current output buffer. If "nn" is omitted, it is assumed to be one.

s{nn}

 Vertical spacing. The value, "nn", places "nn" carriage return/line feeds in the current output buffer. If "nn" is omitted, it is assumed to be one.

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 zero.

*{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.spec, with the following important exceptions:

 a) the value is referenced by attribute name instead of the attribute number, and

 b) conversion is performed as specified by the dictionary v/conv entry, before output.

-> t{+}

 Format specification terminator. A space is required between the "->" and the "t". The "t" may optionally be followed by a "+" to suppress the final carriage return/line feed.
Options
See Also user exits, PROC u01a6 u5193 t
Example
Warnings
Compatibility R83 3.1 R83 3.0 R83 2.2
u0191 Index Level u0193