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.
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
> 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.
> 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
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.
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
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>.
Have you tried transferring them binary & then using the iconv utility?
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
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.
>
|> 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>
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?
> :