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:
Ron Horner <[log in to unmask]>
Reply To:
Ron Horner <[log in to unmask]>
Date:
Mon, 21 Jun 2004 11:36:04 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (58 lines)
Maybe your solution is to put the data into a byte-stream file.  It acts
like a variable file, without really being a variable file.  And it is more
like a PC file.

Ron Horner
Legacy Systems Supervisor
[log in to unmask]
Lady Remington Jewelry
(630) 860-3323

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf
Of Jim Phillips
Sent: Monday, June 21, 2004 10:37 AM
To: [log in to unmask]
Subject: [HP3000-L] FTP'ing Files To A PC

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 *

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

ATOM RSS1 RSS2