Hi - I would be grateful for any advice on the following.
Within DB2 for OS/390, the STRIP Scaler Function is available.
Its function is, for example, to remove leading zeros from a string.
For example: -
Strip(Char(Digits(v_cntrct_no_seed)),L,'0')
- v_cntrct_no_seed is defined as Integer
- Char and Digits return a character representation of a number with
leading zeros.
- STRIP removes 'L'eading zeros.
The Strip Scaler function does not appear to exist in UDB LUW v7 or
indeed v8.
Is there an equivalent command?
Thanks