Hello,
I am reading a field AMT2 ($char10) in a flat file from mainframe. Although it's defined as $char10 in the input statement it contains numeric data only. It also contains a decimal point. (i.e. 10.50 )
INPUT @01 AMT2 $CHAR10
I use 'dollar' in the put statement
PUT @01 AMT2 DOLLAR
and this is what the output looks like: 10.50 .
Notice there is no '$' and there is a '.' at the end
Again, here is the input and the output
input: 10.50
output: 10.50 .
Does anyone know how I can put a '$' at the beginning?
Thank you!