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.

See Also

charges Command

where Command