Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Transfering files from/to mainframe/UNIX

633 views
Skip to first unread message

shaf...@usa.net

unread,
Nov 2, 1999, 3:00:00 AM11/2/99
to
Hi,
Does anybody know who to transfer files between different platforms
(UNIX/PC ASCII,IBM Mainframe-EBCDIC) without losing French
and special characters?

Any help, pointers will be appreciated.

Thanks in advance for help.
Regards,
Shafiq!
Email: shaf...@usa.net


Sent via Deja.com http://www.deja.com/
Before you buy.

Frank da Cruz

unread,
Nov 2, 1999, 3:00:00 AM11/2/99
to
In article <7vn0it$2bh$1...@nnrp1.deja.com>, <shaf...@usa.net> wrote:
: Does anybody know who to transfer files between different platforms

: (UNIX/PC ASCII,IBM Mainframe-EBCDIC) without losing French
: and special characters?
:
Yes: Kermit:

http://www.columbia.edu/kermit/

One of Kermit's unique features is the ability to transfer text files
between unlike platforms and convert their record formats and character sets
as part of the transfer process.

You'll need IBM Mainframe Kermit:

http://www.columbia.edu/kermit/k370.html

It is available for VM/CMS, MVS/TSO, CICS, etc.

For UNIX (Linux, SCO, Solaris, etc), C-Kermit:

http://www.columbia.edu/kermit/ck70.html

For the PC with Win9x/NT/2000 or OS/2, Kermit 95:

http://www.columbia.edu/kermit/k95.html

For the PC with DOS or Win3.x, MS-DOS Kermit:

http://www.columbia.edu/kermit/mskermit.html

Example: to transfer a French-language text file from a PC, where it is
encoded in PC Code Page 850, to the IBM Mainframe, where it is encoded in
Country Extended Code Page 500, you would:

1. Tell Kermit on the PC to:

set file type text
set file character-set cp850
set transfer character-set latin1

2. And tell Kermit on the mainframe to:

set file character-set cp500

And then transfer the file.

- Frank


Bernard Chandler

unread,
Nov 2, 1999, 3:00:00 AM11/2/99
to shaf...@usa.net
shaf...@usa.net wrote:

> Hi,


> Does anybody know who to transfer files between different platforms
> (UNIX/PC ASCII,IBM Mainframe-EBCDIC) without losing French
> and special characters?
>

> Any help, pointers will be appreciated.
>
> Thanks in advance for help.
> Regards,
> Shafiq!
> Email: shaf...@usa.net
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

Using two parallel c arrays, build your own ascii to ebdcic table. You
can then designate which (ascii character value) translates to which
(ebdcic character value) at the same location in each array and not have
to do any comparing or looping. This is not a theory. It is lightning
fast and can be placed anywhere in the transfer stream. I usually used
this in conjunction with SNA level 6 or DD on tapes.

Nate Eldredge

unread,
Nov 2, 1999, 3:00:00 AM11/2/99
to
Bernard Chandler wrote:

> Using two parallel c arrays, build your own ascii to ebdcic table. You
> can then designate which (ascii character value) translates to which
> (ebdcic character value) at the same location in each array and not have
> to do any comparing or looping. This is not a theory. It is lightning
> fast and can be placed anywhere in the transfer stream. I usually used
> this in conjunction with SNA level 6 or DD on tapes.

dd can do this, AFAIK.
--

Nate Eldredge
neld...@hmc.edu

Bernard Chandler

unread,
Nov 2, 1999, 3:00:00 AM11/2/99
to Nate Eldredge
Nate Eldredge wrote:

dd alone can do this if you are using strait ascii and standard ebdcic a or b.
The arrays are designed for any variation on the code equivalence or if you
only have one ebdcic. The original question was on saving special characters
in the translation.

Bob Shair

unread,
Nov 2, 1999, 3:00:00 AM11/2/99
to
In article <7vn0it$2bh$1...@nnrp1.deja.com>,
shaf...@usa.net wrote:
> Does anybody know who to transfer files between different platforms
> (UNIX/PC ASCII,IBM Mainframe-EBCDIC) without losing French
> and special characters?

As Frank da Cruz said, Kermit probably handles character sets better
than anything else. Just thought I'd add, for those who aren't familiar
with it, that it runs just fine over TCP/IP connections with performance
(if you give it proper buffering) very little different from that of
FTP.

The mainframe and Unix versions are both available at no charge from
kermit.columbia.edu

--
Bob Shair
Open Systems Consulting
Champaign, Illinois

Bernd Strieder

unread,
Nov 5, 1999, 3:00:00 AM11/5/99
to
shaf...@usa.net wrote:
>
> Hi,

> Does anybody know who to transfer files between different platforms
> (UNIX/PC ASCII,IBM Mainframe-EBCDIC) without losing French
> and special characters?
>
> Any help, pointers will be appreciated.
>
> Thanks in advance for help.
> Regards,
> Shafiq!
> Email: shaf...@usa.net
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

In the UNIX world there is an app called "recode" which knows over 200
different character sets including some 30 different EBCDIC charsets and
a lot of ISO charsets. Recode is free software, most Linuxes include it.
So it should be available in source at least on well known Linux
FTP-sites. I have not used it to convert mainframe files, but I have
managed some really nasty situations with old MAC texts getting them to
ISO-8859-1 finally.


From the man-page:

RECODE(1) FSF RECODE(1)


NAME
recode - manual page for recode 3.4r

SYNOPSIS
recode [OPTION]... [ [CHARSET] | REQUEST [FILE]... ]

DESCRIPTION
Free `recode' converts files between various character
sets and surfaces.
...
COPYRIGHT
Copyright © 1990, 92, 93, 94, 96, 97, 99 Free Software
Foundation, Inc.
This is free software; see the source for copying condi­
tions. There is NO warranty; not even for MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.

AUTHOR
Written by Franc,ois Pinard <pin...@iro.umontreal.ca>.

Eric Noriega

unread,
Nov 7, 1999, 3:00:00 AM11/7/99
to
shaf...@usa.net wrote:
>
> Hi,
> Does anybody know who to transfer files between different platforms
> (UNIX/PC ASCII,IBM Mainframe-EBCDIC) without losing French
> and special characters?
>
> Any help, pointers will be appreciated.
>
> Thanks in advance for help.
> Regards,
> Shafiq!
> Email: shaf...@usa.net
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

Have you tried transferring them binary & then using the iconv utility?

Frank da Cruz

unread,
Nov 8, 1999, 3:00:00 AM11/8/99
to
In article <38260D4C...@helix.nih.gov>,
Eric Noriega <en...@nih.gov> wrote:
: shaf...@usa.net wrote:
: > Does anybody know who to transfer files between different platforms

: > (UNIX/PC ASCII,IBM Mainframe-EBCDIC) without losing French
: > and special characters?
:
: Have you tried transferring them binary & then using the iconv utility?
:
iconv is available on some versions of UNIX and not others. It is not
available on DOS, Windows, IBM Mainframes, VMS, etc etc.

Again, permit me to suggest Kermit. It does exactly what Shafiq asked for:
transfers textual data between any combination of UNIX, DOS, Windows, IBM
mainframe (and others) with both character-set conversion of French (German,
Italian, Spanish, Hebrew, Greek, Russian, Japanese, ...) text from source to
destination encoding as well as the appropriate record-format conversion, as
part of the transfer process. No other utilities required. Find Kermit at:

http://www.columbia.edu/kermit/

- Frank

Sherrylynn Gillen

unread,
Nov 8, 1999, 3:00:00 AM11/8/99
to

Bernd Strieder wrote:
>
> shaf...@usa.net wrote:
> >
> > Hi,


> > Does anybody know who to transfer files between different platforms
> > (UNIX/PC ASCII,IBM Mainframe-EBCDIC) without losing French
> > and special characters?
> >

> > Any help, pointers will be appreciated.
> >
> > Thanks in advance for help.
> > Regards,
> > Shafiq!
> > Email: shaf...@usa.net
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>

MAINFRAMETOAIX.HTML

Volker Borchert

unread,
Nov 9, 1999, 3:00:00 AM11/9/99
to
In article <7vn0it$2bh$1...@nnrp1.deja.com>, shaf...@usa.net writes:

|> Does anybody know who to transfer files between different platforms
|> (UNIX/PC ASCII,IBM Mainframe-EBCDIC) without losing French
|> and special characters?

Good ftp implementations should do such conversions automagically
when transferring files in "text" mode.

--

"I'm a doctor, not a mechanic." Dr Leonard McCoy <mc...@ncc1701.starfleet.fed>
"I'm a mechanic, not a doctor." Volker Borchert <b...@teknon.de>

Eric Noriega

unread,
Nov 13, 1999, 3:00:00 AM11/13/99
to
I agree that Kermit is a very good solution. Iconv is available if you
MF is running any version of OS/390 as a shell program.

Frank da Cruz wrote:
>
> In article <38260D4C...@helix.nih.gov>,
> Eric Noriega <en...@nih.gov> wrote:
> : shaf...@usa.net wrote:

> : > Does anybody know who to transfer files between different platforms


> : > (UNIX/PC ASCII,IBM Mainframe-EBCDIC) without losing French
> : > and special characters?

> :

0 new messages