View previous topic :: View next topic
|
Author |
Message |
saidharrao Warnings : 1 New User
Joined: 19 Feb 2005 Posts: 27 Location: hyderabad-ap-india
|
|
|
|
Hi all,
Can you please help me in converting Comp values to displayable(decimal).
Eg. 01 WS-TEMP-VALUE 9(4) comp and I need to convert this to
01 WS-TEMP-VALUE 9(8).
Can you please tell me is there any way that can be handled in the program.
Thanks and regards, |
|
Back to top |
|
|
cooldebi
New User
Joined: 19 Apr 2006 Posts: 18 Location: mumbai
|
|
|
|
What is the purpose of conversion???
If you want to display it , u can just move the binary variable to the display variable.
Regards |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
saidharrao wrote: |
Can you please help me in converting Comp values to displayable(decimal).
Eg. 01 WS-TEMP-VALUE 9(4) comp and I need to convert this to
01 WS-TEMP-VALUE 9(8).
Can you please tell me is there any way that can be handled in the program. |
To do this conversion in a COBOL program, use the MOVE verb. |
|
Back to top |
|
|
|