# u2117 user exit

The u2117 user exit returns information
about the current process.

## Syntax

```
result = oconv(0, ’u2117’)
```

## Description

The information is returned
in a dynamic array.

| result | Contains the PCB (Process Control Block) in hexadecimal, and the PIB status. |
| --- | --- |
| result | Contains the process’ return stack, separated by value marks. |
| result | Contains: |
| 0 | If it was the last process. |
| 1 | If it is the current process. |
| 2 | If none of the above. |
If the process is not logged on, then *result* and *result* are empty.

## See also

- [u3070 user exit](https://d3codex.com/access/u3070-user-exit/)
- [u3079 user exit](https://d3codex.com/pickbasic-flashbasic/u3079-user-exit/)
- [where command](https://d3codex.com/tcl/where-command/)

---
Source: https://d3codex.com/pickbasic-flashbasic/u2117-user-exit/ - part of the D3Codex reference.
