Starting from the version 2015 R1 it has been implemented the new compiler option:
-cnlz Leading zeros are shown when numeric data items are displayed on a character based screen.that covers this kind of behavior.
Article ID: 246
Created: April 20, 2015
Last Updated: April 20, 2015
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=246