Re: ELF and EBCDIC

2021-06-07 Thread Attila Fogarasi
Its documented in z/OS 2.3 DWARF/ELF extensions, you can look there for
lots of description:

The ddpi, dwarf, and elf libraries store character data in ASCII format.
Values extracted from PPAs or objects may be in EBCDIC. The character
translation operations allow the user to quickly translate printable
characters between IBM®-1047 (EBCDIC) and ISO-8859-1 (ASCII).
--

   - *ddpi_translate_ibm1047_to_iso8859_1 operation
   
*
   The ddpi_translate_ibm1047_to_iso8859_1 operation translates character
   data from IBM-1047 (EBCDIC) to ISO-8859-1 (ASCII).
   - *ddpi_translate_iso8859_1_to_ibm1047 operation
   
*
   The ddpi_translate_iso8859_1_to_ibm1047 operation translates character
   data from ISO-8859-1 (ASCII) to IBM-1047 (EBCDIC).


On Mon, Jun 7, 2021 at 5:31 PM Robert Prins  wrote:

> On 2021-06-06 19:12, Paul Gilmartin wrote:
> > On Sun, 6 Jun 2021 20:04:55 +, Robert Prins wrote:
> >
> >> In a discussion:
> >>
> >> "Currently [...] only supports ELF files for s390, and those usually
> contain
> >> ASCII strings(at least those compiled by GCC). To see EBCDIC, you can
> try
> >> changing the default string encoding to a EBCDIC one (e.g. codepage
> 37/1140 or
> >> others)."
> >>
> > What host platform?
>
> z/OS
>
> > What language?
>
> GCC, so most likely C
>
> > What target  platform?
>
> z/OS
>
> Robert
> --
> Robert AH Prins
> robert(a)prino(d)org
> The hitchhiking grandfather - https://prino.neocities.org/indez.html
> Some REXX code for use on z/OS -
> https://prino.neocities.org/zOS/zOS-Tools.html
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ELF and EBCDIC

2021-06-07 Thread Robert Prins

On 2021-06-06 19:12, Paul Gilmartin wrote:

On Sun, 6 Jun 2021 20:04:55 +, Robert Prins wrote:


In a discussion:

"Currently [...] only supports ELF files for s390, and those usually contain
ASCII strings(at least those compiled by GCC). To see EBCDIC, you can try
changing the default string encoding to a EBCDIC one (e.g. codepage 37/1140 or
others)."


What host platform?


z/OS


What language?


GCC, so most likely C


What target  platform?


z/OS

Robert
--
Robert AH Prins
robert(a)prino(d)org
The hitchhiking grandfather - https://prino.neocities.org/indez.html
Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: ELF and EBCDIC

2021-06-06 Thread Paul Gilmartin
On Sun, 6 Jun 2021 20:04:55 +, Robert Prins wrote:

>In a discussion:
>
>"Currently [...] only supports ELF files for s390, and those usually contain
>ASCII strings(at least those compiled by GCC). To see EBCDIC, you can try
>changing the default string encoding to a EBCDIC one (e.g. codepage 37/1140 or
>others)."
>
What host platform?
What language?
What target  platform?

>Is that true?
>
It probably depends.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


ELF and EBCDIC

2021-06-06 Thread Robert Prins

In a discussion:

"Currently [...] only supports ELF files for s390, and those usually contain 
ASCII strings(at least those compiled by GCC). To see EBCDIC, you can try 
changing the default string encoding to a EBCDIC one (e.g. codepage 37/1140 or 
others)."


Is that true?

Robert
--
Robert AH Prins
robert.ah.prins(a)gmail.com
The hitchhiking grandfather - https://prino.neocities.org/
Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN