u3b user exit

The u3b user exit returns information about the port.

Syntax

line.status = oconv(code, ’u3b’)

Parameter(s)

line.status Port information.
code Single character that describes the type of information requested, followed by the port number to examine.
a Returns the ABS base FID.
c Returns the CPU units currently used.
h Returns the number of pages printed.
l Returns the current return stack.
p Returns decimal PCB FID.
s Returns the hexadecimal PIB status code.
Note: When getting the CPU units, it is necessary to first perform an execute of:
tcl {line} {user} charges
to synchronize the charges value.

Example(s)

result= oconv("c":46, ’u3b’)
print result
188

The current CPU charges for port 46 is 188 units.