# u11a2 user exit

User exit u11a2 pads the current input
buffer with enough leading zeros to make the value in the number of
digits a specific number of digits wide, and returns the resulting
string to the secondary input buffer.

## Syntax

```
u11a2
number.of.digits
```

## Parameter(s)

| number.of.digits | Sets the width of the number of digits. |
| --- | --- |

## Example(s)

Input values of 1, 01, 001, or
0001 are all replaced by 0001.

```
009 in
010 u11a2
011 4
```

## See also

- [m (mask) processing code](https://d3codex.com/processingcodes/m-mask-processing-code/)
- [PROC processor user exits](https://d3codex.com/proc/proc-processor-user-exits/)
- [u11bc user exit](https://d3codex.com/proc/u11bc-user-exit/)

---
Source: https://d3codex.com/proc/u11a2-user-exit/ - part of the D3Codex reference.
