Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8578

Re: Conversion_Exit_ALpha_Input NOT APPENDING ZEROES

$
0
0

Hi Anirban,

 

As suggested above, always prefer conversions when they are in the domain. Since p_ind do not have any conversion routines, please try the following code:

 

DATA : a(10) TYPE c VALUE 'PR223300'.

 

SHIFT a LEFT DELETING LEADING space.

TRANSLATE a USING ' 0'.

WRITE : a.

 


Thanks

Purnand


Viewing all articles
Browse latest Browse all 8578

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>