Ah, OK. Makes more sense now then. Why do you have IBM assembler code
down on a Unix platform? Can't use mainframe utilities to look at these
files? Do the eyecatchers follow some sort of known format? If so, it
might be easier to write some C code and translate this yourself?

We have some of these types of issues under CICS, where logstreams are
produced that are part EBCDIC and part ASCII. We have code that produces
the below dump type format, but translates the ASCII part (on the
mainframe) for readability.

K

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Warren Taylor
Sent: Wednesday, April 02, 2008 10:20 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: readelf/objdump displays

It is assembler. It is still ebcdic. There are character eyecatchers
that I need to display properly, just not here. There is a space (x'40')
in there that doesn't display as a space.



----- Original Message ----
From: "Evans, Kevin R" <[EMAIL PROTECTED]>
To: LINUX-390@VM.MARIST.EDU
Sent: Wednesday, April 2, 2008 2:55:15 AM
Subject: Re: readelf/objdump displays

Doesn't look like much EBCDIC there. The start looks like z/OS assembler
code.

Kevin

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Warren Taylor
Sent: Tuesday, April 01, 2008 6:32 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: readelf/objdump displays

readelf -x 1 <filename> produces

Hex dump of section '.text':
  0x00000000 582080b8 1a284130 00481841 18530e24 X ...(A0.H.A.S.$
  0x00000010 c0200000 c905d200 20000010 412001b0 . ...... ...A ..
  0x00000020 483080c0 41408068 41500050 0e244130 [EMAIL PROTECTED]
  0x00000030 00014120 03e858f0 80bcae30 00124780 ..A ..X....0..G.
  0x00000040 80c247d0 804e46f0 80464620 8036b222 ..G..NF..FF .6."
  0x00000050 00408940 00028840 001e8200 80600000 [EMAIL PROTECTED]@[EMAIL 
PROTECTED]
  0x00000060 000a0000 80dead00 00020001 80000000 ................
  0x00000070 00000000 00fffff0 00020001 80000000 ................

As you can see, the display is showing ASCII interpretations of the hex
code. This is assembled as 390.

Is there any way I can get the display area to show me the EBCDIC
translation?



----- Original Message ----
From: Mark Post <[EMAIL PROTECTED]>
To: LINUX-390@VM.MARIST.EDU
Sent: Tuesday, April 1, 2008 11:53:02 AM
Subject: Re: readelf/objdump displays

>>> On Tue, Apr 1, 2008 at  2:14 PM, in message
<[EMAIL PROTECTED]>, Warren Taylor
<[EMAIL PROTECTED]> wrote:
> anyone know how to get readelf and/or objdump to show my ebcdic
eyecatchers?
>
> seems these guys can't recognize the ebcdic characters and its really
> slowing me down searching the the hex code.

What are the exact commands you're issuing, and what results are you
expecting?


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to