From owner-freebsd-questions Tue Feb 20 12:36: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from eamail1-out.unisys.com (eamail1-out.unisys.com [192.61.61.99]) by hub.freebsd.org (Postfix) with ESMTP id 5AE3C37B503 for ; Tue, 20 Feb 2001 12:36:07 -0800 (PST) (envelope-from doug.fee@unisys.com) Received: from us-ea-gtwy-7.ea.unisys.com (us-ea-gtwy-7.ea.unisys.com [192.61.145.102]) by eamail1-out.unisys.com (8.9.3/8.9.3) with ESMTP id UAA20913 for ; Tue, 20 Feb 2001 20:35:35 GMT Received: by us-ea-gtwy-7.ea.unisys.com with Internet Mail Service (5.5.2650.21) id <180FPK03>; Tue, 20 Feb 2001 14:36:05 -0600 Message-ID: From: "Fee, Doug" To: "'freebsd-questions@freebsd.org'" Subject: FTP to Mainframe Question Date: Tue, 20 Feb 2001 14:10:46 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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