HP3000-L Archives

June 2004, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jim Phillips <[log in to unmask]>
Reply To:
Jim Phillips <[log in to unmask]>
Date:
Mon, 21 Jun 2004 08:36:50 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
I need to transfer files from the 3000 to a PC.  I am
using Minisoft file transfer today and everything
works okay, but I am looking for a more independent
and robust way of doing things, hence FTP.

I can FTP the files from the 3000 to the PC just fine.
 However, when the file gets to the PC it is useless;
that is, the PC application can't process the file
correctly.  The 3000 file is created in a COBOL
program and defaults to fixed, ASCII 80-byte records.
By examining the file on the PC (via Notepad) I see
that the file is padded with blanks for the full
80-characters.  Removing these trailing blanks renders
a usable file.

My question is:  How can I remove these trailing
blanks either before or during the transfer?

I have tried variable records (binary and ASCII) and
binary FTP without success.  I even tried TOBYTE but
that produced an "e e cummings" file when transferred
to the PC.

Any ideas?

Jim Phillips




__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2