Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 14:10:46 -0600
From:      "Fee, Doug" <doug.fee@unisys.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   FTP to Mainframe Question
Message-ID:  <ABBC508F9A30D3119E7200105A1770FBFAE418@us-fft-exch-1.frf.unisys.com>

next in thread | raw e-mail | index | archive | help
Does anyone know how to strip off the newline character from each record
when sending a file to a mainframe?  For example,

I have a file on my FreeBSD box that is fixed length and I need to ftp it to
my mainframe.  If I ftp it normally (after running it through dd to convert
it from ascii to ebcdic) when I look at the data set on the mainframe I have
my newline character also, it shows up as a period (.).

I need to get rid of the newline characters since the mainframe don't use
them.

Any ideas?

Thanks,
Doug Fee
Network Design Engineer
Unisys Corporation
doug.fee@unisys.com
502-226-2143

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ABBC508F9A30D3119E7200105A1770FBFAE418>