Display EBCDIC as Characters


 
Thread Tools Search this Thread
Operating Systems AIX Display EBCDIC as Characters
# 1  
Old 08-09-2005
Display EBCDIC as Characters

Hi,

Does anybody have a command to share that will display EBCDIC files as character?

I have od -x -A d
which will display hex as follows
f0f1 f4f3 f0f0 f0f0 f0f6 f1f4 f6f3 f3f0
f3f9 f8f3 f1f6 f8f2 f860 d1e4 d360 f2f0
f0f5 4000 0000 5014 8c00 0000 0000 0c00
0000 0000 0d00 0000 5014 8c00 0000 1702
3c00 0000 6717 1cf2 f0c1 4040 4040 4040
0af0 f1f4 f3f0 f0f0 f0f0 f6f1 f4f6 f3f3
f0f3 f9f8 f3f1 f6f8 f2f8 60d1 e4d3 60f2
f0f0 f540 0000 0050 148c 0000 0000 000c
0000 0000 000d 0000 0050 148c 0000 0017
023c 0000 0067 171c f2f0 c140 4040 4040


but it would sure be nice to view it as characters.

Thank You in Advance for Your Help,

Lou
# 2  
Old 08-09-2005
Try:

dd conv=ascii | od -c
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to check if the file has EBCDIC or ascii characters

Hi, is there a way to check if the initial few characters are ebcdic or ascii in a file? (1 Reply)
Discussion started by: ahmedwaseem2000
1 Replies

2. UNIX for Dummies Questions & Answers

Display only the first two characters of all the lines from a file.

how do i Display only the first two characters of all the lines from a file.? (1 Reply)
Discussion started by: ritusubash
1 Replies

3. Shell Programming and Scripting

Display first few characters only

I have a file with one or two lengthy lines like.... masterUserID = 'S' OR masterUserID = 'S' OR masterUserID = 'S' (many many more times) How do I display only the first few hundred characters from each line. (1 Reply)
Discussion started by: shantanuo
1 Replies

4. UNIX and Linux Applications

Display non-english characters in shell

I don't know if this is the correct thread to post. If not tell me please. I have a script to make some queries to a Spanish Dictionay (Real Academia Espaņola) as follows: lynx -dump --nolist "buscon.rae.es/draeI/SrvltGUIBusUsual?TIPO_ HTML=2&LEMA="$1 It works this way: ./rae word ... (1 Reply)
Discussion started by: agasamapetilon
1 Replies

5. Shell Programming and Scripting

Display text between two words/characters

Using sed or awk, I need to display text between two words/characters. Below are two example inputs and the desired output. In a nutshell, I need the date-range value between the quotes (but only the first occurance of date-range as there can be more than one). Example One Input: xml-report... (1 Reply)
Discussion started by: cmichaelson
1 Replies

6. UNIX for Dummies Questions & Answers

FTP'ing EBCDIC Characters from Mainframe

Hi All, I am new to this site, I have a requirement where in i have to FTP a file from mainframe to Unix box. The catch here is there are few Spanish characters like N with tilde(~) and a with ` etc., all other characters are coming fine but those mentioned above are not coming in a proper... (1 Reply)
Discussion started by: harikiranr
1 Replies

7. Shell Programming and Scripting

2D Array to display characters

Hi All, I have a series of number which indicates the coordinates where 0104 indicates X-coord = 01 and Y-coord = 04 and i want characters to form up in accordance to the coordinates given. Can any expert give me an example of 2D array code using csh or awk or perl such that the code can... (16 Replies)
Discussion started by: Raynon
16 Replies

8. Shell Programming and Scripting

Display special characters

I have a file that evidently has some special characters in it. Is there a Unix command that I can use tp display the file so I can see the octal or hex values? (2 Replies)
Discussion started by: BCarlson
2 Replies

9. Programming

Unknow Characters in Display using ncurses

Hi Dear, I have written a small C/C++ aplication which is using ncurses library. When the application runs, some times some unknown characters are displayed on the screen. It happens some times and on some pc's. I have used "mvwprintw" for displaying text of my own will and proper use of... (1 Reply)
Discussion started by: iali
1 Replies

10. UNIX for Dummies Questions & Answers

Garbage characters in display

:confused: I recently left managment and came back to AIX administration. So I am a bit rusty to say the least. The issue I am having is with the term settings when I either simply telnet to my AIX unit or even when I use an emulator like puTTY or a VAR provided one. Once I am logged into... (0 Replies)
Discussion started by: Haleja001
0 Replies
Login or Register to Ask a Question