u3079 user exit

The u3079 user exit returns the PCB FID of the current process, or returns the port number of the current process.

Syntax

pcb.fid = iconv(port.num, ’u3079’)
port.num = oconv(pcb.fid, ’u3079’)

Description

  • If iconv is used, it returns the PCB FID in hexadecimal of the current process.

  • If oconv is used, it returns the port number of the current process.

  • If another port is specified, then the port number must be in hexadecimal.

Example(s)

a = iconv(0, ’u3079’)
a is the PCB for port 0 (in hexadecimal).
a = oconv(’02c0’, ’u3079’)

a is Port 0 for a system with 704 ABS frames.