Data Storage - ebcdic=>ascii website

This is Interesting: Free IT Magazines  
Home > Archive > Data Storage > June 2004 > ebcdic=>ascii website





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ebcdic=>ascii website
dafon

2004-06-26, 2:26 pm

WhHat's a good website? thanks


Jochen Kaiser

2004-06-26, 2:26 pm

Hi,

dafon wrote:
> WhHat's a good website? thanks
>
>

How about "man iconv"? (for a pure ebcdic to ascii, etc. transformation)

Cheers,

Jochen
dafon

2004-06-26, 2:26 pm

what? what ? what?

what are you talking about?

isn't this going to drive me crazy enough?

I ask for a website and you give me
"man iconv"

Can I have an ounce of sanity from someone here?

()*&^()&*()*&)(*&()*&()*& !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!

what?
what?
what?
what could you possibly be talking bout?

what ?









"Jochen Kaiser" <Jochen.no.M.spam.kaiser@t-online.de> wrote in message
news:cal3ac$icu$07$1@news.t-online.com...
> Hi,
>
> dafon wrote:
> How about "man iconv"? (for a pure ebcdic to ascii, etc. transformation)
>
> Cheers,
>
> Jochen



Jake Roersma

2004-06-26, 2:26 pm

On Mon, 14 Jun 2004 15:26:19 -0600, dafon wrote:

> what? what ? what?
>
> what are you talking about?
>
> isn't this going to drive me crazy enough?
>
> I ask for a website and you give me
> "man iconv"
>
> Can I have an ounce of sanity from someone here?
>
> ()*&^()&*()*&)(*&()*&()*& !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
>
> what?
> what?
> what?
> what could you possibly be talking bout?


Forgive me, I couldn't resist.

try "man man"

--
Jake Roersma

dafon

2004-06-26, 2:26 pm

Ok now I am really going insane.
Why don't you check with your robot and see if he is asking for bread in
french!!!!!!




"Jake Roersma" <jaker@IHATESPAMcopiosus.net> wrote in message
news:a3b27b16b86b7128e0d24de8ed7b61ad@ne
ws.teranews.com...
> On Mon, 14 Jun 2004 15:26:19 -0600, dafon wrote:
>
>
> Forgive me, I couldn't resist.
>
> try "man man"
>
> --
> Jake Roersma
>



Victor M?ller

2004-06-26, 2:26 pm

Let me guess, you are a Windows user, aren't you?

/Victor


"dafon" <dafon@sdafon.net> wrote in message news:<aaCdncA_ArWLAlPdRVn-uQ@comcast.com>...[vbcol=seagreen]
> Ok now I am really going insane.
> Why don't you check with your robot and see if he is asking for bread in
> french!!!!!!
>
>
>
>
> "Jake Roersma" <jaker@IHATESPAMcopiosus.net> wrote in message
> news:a3b27b16b86b7128e0d24de8ed7b61ad@ne
ws.teranews.com...
dafon

2004-06-26, 2:26 pm

why yes!
I went with windows!


"Victor M?ller" <victor_google@digifirm.se> wrote in message
news:a092c26c.0406150551.2ef88001@posting.google.com...
> Let me guess, you are a Windows user, aren't you?
>
> /Victor
>
>
> "dafon" <dafon@sdafon.net> wrote in message

news:<aaCdncA_ArWLAlPdRVn-uQ@comcast.com>...[vbcol=seagreen]


Charles Jardine

2004-06-26, 2:26 pm

dafon wrote:

> why yes!
> I went with windows!


Then you won't have available to you any tools relevant to
the difficult task of converting the data in a tape written by
one of the old EBCDIC based IBM OSs into a form suitable for
use on a modern OS.

This is not just a matter of converting the character code,
although that can be hard enough, as there were many different
EBDCIC code pages. You have also to cope with the fact the
the old IBM OSs used structured files. Not every byte in such
a file necessarily represents a character. Some byte sequences
may be block descriptors or record descriptors. These were not
encoded in the character code, but were binary values. If you
translate these bytes from one character code to another, you
will render them incomprehensible.

Since these file formats were going out of fashion at the same
time as the Web was coming into fashion, you probably won't
find much information about this topic on the Web.

dafon

2004-06-26, 2:26 pm

>>If you translate these bytes from one character code to another, you will
render them incomprehensible.

Even if I save it as a new file?



"Charles Jardine" <cj10@cam.ac.uk> wrote in message
news:can94g$8id$1@pegasus.csx.cam.ac.uk...
> dafon wrote:
>
>
> Then you won't have available to you any tools relevant to
> the difficult task of converting the data in a tape written by
> one of the old EBCDIC based IBM OSs into a form suitable for
> use on a modern OS.
>
> This is not just a matter of converting the character code,
> although that can be hard enough, as there were many different
> EBDCIC code pages. You have also to cope with the fact the
> the old IBM OSs used structured files. Not every byte in such
> a file necessarily represents a character. Some byte sequences
> may be block descriptors or record descriptors. These were not
> encoded in the character code, but were binary values. If you
> translate these bytes from one character code to another, you
> will render them incomprehensible.
>
> Since these file formats were going out of fashion at the same
> time as the Web was coming into fashion, you probably won't
> find much information about this topic on the Web.
>



Victor M?ller

2004-06-26, 2:26 pm

If the information is important to you, hire someone to help you. If
you do it just for fun, install Linux and learn a real OS.

As a small hint, when you have installed Linux, try "man iconv" and
you will se how to use the tool iconv.


Regards, Victor



"dafon" <dafon@sdafon.net> wrote in message news:<l-OdnVQ5J5ohqFLdRVn-vw@comcast.com>...[vbcol=seagreen]
> render them incomprehensible.
>
> Even if I save it as a new file?
>
>
>
> "Charles Jardine" <cj10@cam.ac.uk> wrote in message
> news:can94g$8id$1@pegasus.csx.cam.ac.uk...
Victor M?ller

2004-06-26, 2:26 pm

If the information is important to you, hire someone to help you. If
you do it just for fun, install Linux and learn a real OS.

As a small hint, when you have installed Linux, try "man iconv" and
you will se how to use the tool iconv.


Regards, Victor




"dafon" <dafon@sdafon.net> wrote in message news:<l-OdnVQ5J5ohqFLdRVn-vw@comcast.com>...[vbcol=seagreen]
> render them incomprehensible.
>
> Even if I save it as a new file?
>
>
>
> "Charles Jardine" <cj10@cam.ac.uk> wrote in message
> news:can94g$8id$1@pegasus.csx.cam.ac.uk...
Jochen Kaiser

2004-06-26, 2:26 pm

Hello,

Well, it could be worse...
[vbcol=seagreen]
> Then you won't have available to you any tools relevant to
> the difficult task of converting the data in a tape written by
> one of the old EBCDIC based IBM OSs into a form suitable for
> use on a modern OS.

===
Of course 'iconv' should be available as a cygwin port. Apart from
that a small tool called convert.exe (not _the_ FAT32 to NTFS
convert.exe) is also able to do the basic transformation for some common
ebcdic codepages like 037 (US) or 273 (German)

Anyway these tools will help little when accessing real VSAM files
coming from the mainframe due to the "internal formatting".

If the file has "internal formatting" you'd probably need a decent file
format decription unless you're a reengineering pro for such files.

As you asked for webpages...

CYGWIN (UNIX for Windows - yeah, yeah flame me if you like):
http://www.cygwin.com/

Man-page for iconv (e.g. just do a search on "man iconv")
http://www.hmug.org/man/1/iconv.html

Man-page for man (the Jake special
http://www.hmug.org/man/1/man.html

HTH,

Jochen
Thomas Wicklund

2004-06-26, 2:26 pm

Jochen Kaiser wrote:

> Of course 'iconv' should be available as a cygwin port. Apart from
> that a small tool called convert.exe (not _the_ FAT32 to NTFS
> convert.exe) is also able to do the basic transformation for some common
> ebcdic codepages like 037 (US) or 273 (German)


Looking at my installed cygwin man pages and the page at hmug.org you
ilst, I can't find EBCDIC in the list of supported conversions. Is it
present under some other name? Otherwise, iconv doesn't seem to help.

Tom

Jochen Kaiser

2004-06-26, 2:26 pm

Hello,

>
>
> Looking at my installed cygwin man pages and the page at hmug.org you
> ilst, I can't find EBCDIC in the list of supported conversions. Is it
> present under some other name? Otherwise, iconv doesn't seem to help.

===

I use iconv under Solaris and that one includes tables for converting
EBCDIC. E.g. the US-EBCDIC codepage is named IBM-037 and so on...
You should be able to download the conversion tables somewhere and place
them und /usr/lib/iconv .

The Solaris manpage may offer more details in this case:
http://bama.ua.edu/cgi-bin/man-cgi?iconv+1

Unfortunately I assumed that the implementation was the same for all
flavors of *nix (incl. the ones who say they are not UNIX) but this does
not seem to be the case, at least in regard to supported/installed
codepage conversion tables.

HTH,

Jochen
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com