FN_E$CLZ - Convert leading zeros to blanks
Inclusion in RPG source
- C /COPY E$LIB/SRC(ILE),FN_E$CLZ
Invocation
- EXSR E$CLZ
Input Parameters
- @CLZ (a80)
- Field in which a numeric value must be stored using the MOVE statement, prior to the call to E$CLZ.
Output Parameters
- @CLZ (a80)
- Field in which the formatted value is stored after processing by E$CLZ.
What it does
- Converts all leading zeroes to blanks until a non-zero character is encountered.
Examples
-
* C MOVE 122 @CLZ P '000000000122' C EXSR E$CLZ C MOVE @CLZ #FIELD P ' 122' *
Go to download page



Transportation Administration System
Snoezelen Pillows for Dementia
Begeleiders voor gehandicapten
Laat uw hond het jaarlijkse vuurwerk overwinnen
Betuweroute en Kunst
Hey Vos! Je eigen naam@vos.net emailadres?
Kunst in huis? Nicole Karrèr maakt echt bijzonder mooie dingen
Kunst in huis? Netty Franssen maakt ook bijzonder mooie dingen