![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bourne and decimals?? | kdyzsa | Shell Programming and Scripting | 1 | 05-06-2008 10:54 PM |
| handle decimals | subin_bala | Shell Programming and Scripting | 1 | 04-21-2008 08:03 AM |
| Req on how to convert hex numbers to decimals | hare | UNIX for Advanced & Expert Users | 3 | 03-21-2008 11:04 AM |
| EBCDIC to ASCII conv for packed decimals. | videsh77 | UNIX for Dummies Questions & Answers | 3 | 05-12-2007 01:14 PM |
| comparing two numbers with the decimals | chittari | Shell Programming and Scripting | 4 | 06-28-2006 10:57 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
convert Regular decimals to Packed decimals
Hi,
I am trying to find if there is a way to convert regular decimal values to Paced decimal values. I tried to find a c program but I could get a Packed converted to regular decimal not the other way round. If not unix please let me know if any other progrimming language I can use to do this. Thanks. |
|
|||||
|
Hi.
If you are comfortable in perl, there is this module at http://cpan.org/: Code:
Convert::IBM390 -- functions for manipulating mainframe data Quote:
I have used a COBOL compiler on Linux: OpenCOBOL - an open-source COBOL compiler ... cheers, drl |
|
|||||
|
There are a number of different types of packed decimals. If you want IEEE 754r:2008 types have a look at the decPacked module in the IBM decNumber library alphaWorks : decNumber : Overview. It is witten in ANSI C.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|