× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



CPYTOIMPF has had lots of changes in V5R3.  Most of them will pi$$ you 
off.  Use CPYTOSTMF if it will work for you.

Rob Berendt
-- 
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





Scott Klement <midrange-l@xxxxxxxxxxxxxxxx> 
Sent by: midrange-l-bounces@xxxxxxxxxxxx
01/10/2005 01:31 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc

Subject
Re: FTP Issue







Hello Matthew,

> The problem we are experiancing is with FTP on the 400.  It appears that 

> all packed decimal fields send special characters to the receiving 
> system.  The receiving system is running UNIX.

FTP is a file transfer program. That's all it is -- a program that 
transfers data from one system to another.

This may seem confusing to someone who is used to Client Access' file 
transfer.  Despite being called "File transfer" Client Access does more 
than just transfer the data, it also changes the file format from one 
thing into another. It's doing two steps for you -- both converting the 
data to another format, and copying it over a network...

FTP doesn't do that.  It just copies the data, nothing else.  Oh sure, it 
can do two very simple transformations -- it can translate into ASCII, and 

it can change a text file from one end-of-line convention to another.  But 

that's all.

If you want to convert your database into a text file, you must convert it 

FIRST, then transfer it with FTP.

To do that, use the CPYTOIMPF command to convert the database fields into 
a text file.  Then, after that's done, use FTP to transfer the text file 
to the Unix machine. If you like, you can write a CL program that does 
both steps at once.

The release of OS/400 shouldn't make much difference. It's possible that 
the CPYTOIMPF command has had some new options added (though, I can't 
think of any!) but FTP hasn't changed.
-- 
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.