From owner-freebsd-questions Tue Feb 20 12:38: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hobbiton.shire.net (frogmorton.shire.net [204.228.145.136]) by hub.freebsd.org (Postfix) with ESMTP id 63E0937B401 for ; Tue, 20 Feb 2001 12:38:00 -0800 (PST) (envelope-from chad@pengar.com) Received: from [216.64.45.172] (helo=[192.168.99.123]) by hobbiton.shire.net with esmtp (Exim 2.04 #5) id 14VCzh-000P59-00; Tue, 20 Feb 2001 06:38:17 -0700 Date: Tue, 20 Feb 2001 15:29:59 -0500 From: "Chad Leigh, Pengar Enterprises, Inc & Shire.Net LLC" Reply-To: chad@pengar.com To: "Fee, Doug" , "'freebsd-questions@freebsd.org'" Subject: Re: FTP to Mainframe Question Message-ID: <3430455996.982682999@[192.168.99.123]> In-Reply-To: X-Mailer: Mulberry/2.0.5 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Do a ftp> bin command which tells it to send as a binary file instead of an ascii file. FTP will do end of line correction on ascii files depending on what sort of host server you are running. Chad --On Tuesday, February 20, 2001 2:10 PM -0600 "Fee, Doug" wrote: > 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 Pengar Enterprises, Inc. and Shire.Net LLC Web and Macintosh Consulting -- full service web hosting Chad Leigh chad@pengar.com chad@shire.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message