ue.11a2

User Exit/PROC, Releases: R83 3.1, R83 3.0, and R83 2.2

Pads the value of the primary input buffer with zeros.

Syntax

u11a2 number.of.digits

Description

pads the current input buffer with enough leading zeros to make the value 'number.of.digits' digits wide, and returns the resulting string to the secondary input buffer.

Example

009 in
010 u11a2
011 4

Input values of '1', '01', '001', or
'0001' will all be replaced by '0001'.

See Also

Command Name Type Description
proc.user.exits Command List of PROC user exits.
pc.m Processing Code Mask numeric/string functions.
ue.11bc User Exit Pads the value in the secondary input buffer with zeros.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.