u3b user exit

The u3b user exit returns information about the port.


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


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.


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

The current CPU charges for port 46 is 188 units.