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. |
tcl {line} {user} chargesto synchronize the charges value.
result= oconv("c":46, ’u3b’) print result 188
The current CPU charges for port 46 is 188 units.