Re: data type conversion- help needed
- From: LX-i <lxi0007@xxxxxxxxxxxx>
- Date: Thu, 22 Mar 2007 18:59:44 -0600
harsha wrote:
Hi All,
I need to convert the following COMP/BINARY field
05 COUNTER PIC S9(9) COMP
into the regular usage as below
05 WS-COUNTER PIC 9(9).
Im refering to mainframe cobol(85).
Could any of you please let me know how to do this...
Im struck at this point............
I'd try
MOVE COUNTER TO WS-COUNTER
and see what that gets you...
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ / \ / ~ Live from Albuquerque, NM! ~
~ / \/ o ~ ~
~ / /\ - | ~ daniel@thebelowdomain ~
~ _____ / \ | ~ http://www.djs-consulting.com ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e ~
~ h---- r+++ z++++ ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Who is more irrational? A man who believes in a God he doesn't see, or a man who's offended by a God he doesn't believe in?" - Brad Stine
.
- References:
- data type conversion- help needed
- From: harsha
- data type conversion- help needed
- Prev by Date: data type conversion- help needed
- Next by Date: Re: dds-all-formats
- Previous by thread: data type conversion- help needed
- Next by thread: Re: data type conversion- help needed
- Index(es):
Relevant Pages
|