![]() |
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 |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Evaluating Decimal values | larrys721 | Shell Programming and Scripting | 4 | 06-02-2008 08:31 PM |
| comparing two decimal values in KSH | nandinisagar | Shell Programming and Scripting | 4 | 11-15-2005 06:36 PM |
| unix script for converting a decimal to binary | softy | Shell Programming and Scripting | 3 | 10-19-2005 09:33 AM |
| Help: How do I ADD non-integer (decimal) values? | limshady411 | Shell Programming and Scripting | 2 | 09-07-2005 04:41 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Converting Binary decimal coded values to Ascii Values
Hi All,
Is there any command which can convert binary decimal coded values to ascii values... i have bcd values like below îîîîîîîîîîîî0î–– –v – Pls suggest a way to convert this. Thanks, Deepti.Gaur |
|
||||
|
Hi ,
I have tried the below things but i am getting the output as all numbers dd if=inputfile of=test.dat ibs=512 cbs=0 conv=ascii dd conv=ascii | od -c inputfile > test.dat i am getting the below values 0000140 4149 4c4c 474d 412e 3946 4939 4942 302e 0000160 3630 3133 3930 0333 4500 5888 8e82 eeee 0000200 eeee eeee eeee 0299 0075 0063 0000 3208 0000220 8888 ee73 eeee 0eee 0e0e 300e 0e03 e863 the above values contains varchar and date columns which i am not able to see pls suggest any other way Thanks, Deepti.Gaur |
|
||||
|
if your inputfile contains ONLY EBCDIC characters, dd in=inputfile out=outputfile conv=ascii will do the job.
If you're not getting what you expect, your data is either totally or partially NOT EBCDIC!!! Can you verify it? |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|