View previous topic :: View next topic
|
Author |
Message |
ashish kumar gupta
New User
Joined: 13 Aug 2008 Posts: 1 Location: CHENNAI
|
|
|
|
can anyone guide me how to convert data which is in binary to decimal,
like whats the sort card that i need to use |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Ashish,
Quote: |
how to convert data which is in binary to decimal |
It's difficult to make out something about your requirement from the above statement. can you be more precise on your requirement.
Posting sample input/output records would help others to give you better solutions.
Thanks,
Arun |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Ashish,
Quote: |
can anyone guide me how to convert data which is in binary to decimal |
By decimal, if you are referring to zoned decimal then you can use something like BI, TO=ZD in your sort card for the conversion.
As requested, post the sample input and output with the field positions. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
Back to top |
|
|
sivaram.ch
New User
Joined: 28 Jun 2005 Posts: 11
|
|
|
|
Declaring 2 variables one with binary and another with decimal.Move the value in Binary holding variable to decimal holding variable that will do.Thanks.
Sivaram.Ch |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
Declaring 2 variables one with binary and another with decimal.Move the value in Binary holding variable to decimal holding variable that will do.Thanks. |
The OP said
Quote: |
whats the sort card that i need to use |
YOUR answer has nothing to do with that question. |
|
Back to top |
|
|
|