Author: vnktrrd
Subject: Reply to: Convert +9999999999999.99 to S9(12)V9(3)
Posted: Thu Nov 17, 2016 10:17 pm (GMT 5.5)
Hi Bill,
Yes the data is fixed except for the sign which may be + or - . I have to retain the sign always.
I have tried with the below OUTREC but I am not getting the expected output.
Input :
-0000037723069.39
Output :
00000377230693R
and when I move this value to S9(12)V9(3) it is being stored as 3772306.93 instead of 37723069.39.
Thanks,
Ramana.
Subject: Reply to: Convert +9999999999999.99 to S9(12)V9(3)
Posted: Thu Nov 17, 2016 10:17 pm (GMT 5.5)
Hi Bill,
Yes the data is fixed except for the sign which may be + or - . I have to retain the sign always.
I have tried with the below OUTREC but I am not getting the expected output.
Code: |
OUTREC BUILD=(1,17,SFF,TO=ZD,LENGTH=15) |
Input :
-0000037723069.39
Output :
00000377230693R
and when I move this value to S9(12)V9(3) it is being stored as 3772306.93 instead of 37723069.39.
Thanks,
Ramana.