• Subject: Re: FTP Externally Described Files
  • From: Per Nielsen <perni@xxxxxxxxxx>
  • Date: Tue, 18 Jan 2000 23:57:55 +0100

Hi Bob
I'm offline at the moment, but never the less
Have you tried

open
bin
struct r
put etc
quit

The struct thing will at least give you the right recordlength. That was
what I used it for, whether you get the fielddefinitions or not I can't
remember. But if this is not the solution then you are in a scheme like:

A: 
Transfer the source 
Create the PF on the remote AS with quote CRTPF etc in the FTP-script 

Or 
B:
On local machine
SavObj file To a savf

Then run the following FTP script
open remotehost
bin
put savf yourremotelib/yourremotefile  
and perform a RstObj using 
qoute RSTOBJ obj(remoteLib/yourremotefile
frmSavf(yourremotesavf/yourremotesavf)
quit

Well HTH
regards Per Nielsen 




At 12:22 18-01-00 -0500, you wrote:
>
>
>
>I am trying to FTP a file between two AS/400's.
>The file will transfer fine, but it loses its external description and turns
>into a flat file.
>I have RTFM and tried all the options that I thought were applicable.
>Note: I am transferring from a V4.4 machine to a V4.3 machine.
>
>Bob Voltz
>Biomet
>
>
>+---
>| This is the Midrange System Mailing List!
>| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
>| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
>| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
>| Questions should be directed to the list owner/operator: david@midrange.com
>+---
>

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.