× 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.


  • Subject: Re: FTP a Save File.
  • From: "David Shea" <dshea@xxxxxxxxxxxx>
  • Date: Thu, 1 Apr 1999 14:56:38 -0500

This may or may not apply to this situation...

I don't know if you can FTP a save file (SAVF), but you should be able to
FTP a physical file (PF).  I've used a technique in the past to email AS/400
libraries by doing a SAVOBJ to a SAVF, then converting the SAVF to a PF,
then downloading the PF to a PC, then ZIPping the PC file, then attaching
the zipped file to an email....  believe it or not, it usually survives the
trip.

It requires some CL and RPG to be created on the As/400 to convert the SAVF
to the PF one record at a time.  I'd be happy to send you the source code.
The PF involved is, in fact, 528 bytes long.

This method works great for software distribution.  It's a pain in the
<neck> to set up the first time, but once it's created (the SAVF to PF
conversion tools) it's relatively easy.

If anyone would like a copy, please send me an email to dshea@arctools.com .
I don't know if the list would allow me to send out a message with
attachments (nor do I know if the moderator would think it's a good idea).

++++++++++++++++++++
Purge and Archive your AS/400 Data WITHOUT PROGRAMMING with ARCTOOLS (tm).
DCSoftware, Inc.
http://www.arctools.com
mailto:info@arctools.com
++++++++++++++++++++
-----Original Message-----
From: Erickson, Jon <JonErickson@VikingIndustries.com>
To: 'RPG400-L@midrange.com' <RPG400-L@midrange.com>
Date: Thursday, April 01, 1999 11:37 AM
Subject: RE: FTP a Save File.


>I think I've seen this some where.  As I recall, you need to create a PF of
>length 528, and a *SAVF.  FTP the PC file to the PF, then CPYF the PF to
the
>*SAVF.  HTH.
>
>Regards,
>~~~~~~~~~~~~~~~~~~~~~
>Jon A. Erickson
>Viking Industries, Inc.
> <http://www.vikingindustries.com> http://www.vikingindustries.com
>~~~~~~~~~~~~~~~~~~~~~
> <<Jon Erickson.vcf>>
>
>
> -----Original Message-----
> From: G.R.Srinivas [mailto:srinivasgr@yahoo.com]
> Sent: Thursday, April 01, 1999 3:56 AM
> To: RPG400-L@midrange.com
> Subject: RE: FTP a Save File.
>
> Hi,
> I downloaded it from the WEB.
> Srinivas.
>
> --- "Witcher, Bill" <Bill.Witcher@garmin.com> wrote:
> > How did the Save file get on the PC to start with?
> >
> > Bill Witcher
> >
> >
> > -----Original Message-----
> > From: G.R.Srinivas [SMTP:srinivasgr@yahoo.com]
> > Sent: Tuesday, March 30, 1999 10:23 PM
> > To: RPG400-L@midrange.com
> > Subject: Re: FTP a Save File.
> >
> > Hi,
> > I am sorry that I didn't mention it earlier. I even
>tried by first
> > creating a save file on the system, but that also
>didn't work. Then
> > FTPed it in binary mode. When I look at the save
>file using DSPSAVF
> > command the message that I get is "save file
>contains invalid data".
> > I am in a dilemma.
> > srinivas.
> >
> > --- Mark Ramsden <markeramsden@yahoo.com> wrote:
> > > Have you tried creating save file 'A' on the
>AS/400 first ?
> > >
> > >
> > >
> > > --- "G.R.Srinivas" <srinivasgr@yahoo.com> wrote:
> > > > Hi,
> > > >
> > > > How to ftp a save file from PC to AS/400?
> > > > Suppose there is a save file named 'A'.
> > > > When I ftp it from PC to AS/400, a member named
>'A'
> > > > is getting created in file 'A'(This is also
>getting
> > > > created).
> > > > When I look at objects, its type is *file and
> > > > attribute PF-DTA.
> > > > Kindly suggest.
> > > > Thanks in advance.
> > > >
> > > > Srinivas.
> > > >
>_________________________________________________________
> > > > Do You Yahoo!?
> > > > Get your free @yahoo.com address at
> > > > http://mail.yahoo.com
> > > >
> > > > * * * * * * * * * * * * * * * * * * * * * * * *
>* * *
> > > > * * * * * * * * * *
> > > > * This is the RPG/400 Discussion Mailing List!
>To
> > > > submit a new         *
> > > > * message, send your mail to
>"RPG400-L@midrange.com".
> > > >  To unsubscribe   *
> > > > * from this list send email to
>MAJORDOMO@midrange.com
> > > > and specify       *
> > > > * 'unsubscribe RPG400-L' in the body of your
>message.
> > > >  Questions should *
> > > > * be directed to the list owner / operator:
> > > > david@midrange.com          *
> > > > * * * * * * * * * * * * * * * * * * * * * * * *
>* * *
> > > > * * * * * * * * * *
> > > >
> > >
> > >
>_________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at
>http://mail.yahoo.com
> > >
> > > * * * * * * * * * * * * * * * * * * * * * * * * *
>* * * * * * * *
> > * *
> > > * *
> > > * This is the RPG/400 Discussion Mailing List!  To
>submit a new
> >
> >
> > >  *
> > > * message, send your mail to
>"RPG400-L@midrange.com".  To
> > unsubscribe
> >
> > >  *
> > > * from this list send email to
>MAJORDOMO@midrange.com and specify
> >
> >
> > >  *
> > > * 'unsubscribe RPG400-L' in the body of your
>message.  Questions
> > > should *
> > > * be directed to the list owner / operator:
>david@midrange.com
> >
> >
> > >  *
> > > * * * * * * * * * * * * * * * * * * * * * * * * *
>* * * * * * * *
> > * *
> > > * *
> > >
> >
> >
>_________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at
>http://mail.yahoo.com
> >
> > * * * * * * * * * * * * * * * * * * * * * * * * * *
>* * * * * * * *
> > * * *
> > * This is the RPG/400 Discussion Mailing List!  To
>submit a new
> > *
> > * message, send your mail to
>"RPG400-L@midrange.com".  To
> > unsubscribe   *
> > * from this list send email to
>MAJORDOMO@midrange.com and specify
> > *
> > * 'unsubscribe RPG400-L' in the body of your
>message.  Questions
> > should *
> > * be directed to the list owner / operator:
>david@midrange.com
> > *
> > * * * * * * * * * * * * * * * * * * * * * * * * * *
>* * * * * * * *
> > * * *
> >
> <HR>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
>charset=us-ascii">
> <META NAME="Generator" CONTENT="MS Exchange Server version
>5.5.2448.0">
> <TITLE>RE: FTP a Save File.</TITLE>
> </HEAD>
> <BODY>
>
> <P><FONT SIZE=2 FACE="Arial">How did the Save file get on
>the PC to
> start with?&nbsp;&nbsp; </FONT>
> </P>
>
> <P><FONT FACE="Brush Script MT">Bill
>Witcher&nbsp;&nbsp;&nbsp; </FONT>
> </P>
> <BR>
> <UL>
> <P><A NAME="_MailData"><FONT SIZE=2
>FACE="Arial">-----Original
> Message-----</FONT></A>
> <BR><B><FONT SIZE=2 FACE="Arial">From:&nbsp;&nbsp;
>G.R.Srinivas
> [SMTP:srinivasgr@yahoo.com]</FONT></B>
> <BR><B><FONT SIZE=2
>FACE="Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT
> SIZE=2 FACE="Arial">Tuesday, March 30, 1999 10:23 PM</FONT>
> <BR><B><FONT SIZE=2
>FACE="Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B>
> <FONT SIZE=2 FACE="Arial">RPG400-L@midrange.com</FONT>
> <BR><B><FONT SIZE=2
>
>FACE="Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B>
> <FONT SIZE=2 FACE="Arial">Re: FTP a Save File.</FONT>
> </P>
>
> <P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
> <BR><FONT SIZE=2 FACE="Arial">I am sorry that I didn't
>mention it
> earlier. I even tried by first</FONT>
> <BR><FONT SIZE=2 FACE="Arial">creating a save file on the
>system, but
> that also didn't work. Then</FONT>
> <BR><FONT SIZE=2 FACE="Arial">FTPed it in binary mode. When
>I look at
> the save file using DSPSAVF</FONT>
> <BR><FONT SIZE=2 FACE="Arial">command the message that I get
>is
> &quot;save file contains invalid data&quot;.</FONT>
> <BR><FONT SIZE=2 FACE="Arial">I am in a dilemma.</FONT>
> <BR><FONT SIZE=2 FACE="Arial">srinivas.</FONT>
> </P>
>
> <P><FONT SIZE=2 FACE="Arial">--- Mark Ramsden
> &lt;markeramsden@yahoo.com&gt; wrote:</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; Have you tried creating
>save file 'A'
> on the AS/400 first ?</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; </FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; </FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; </FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; ---
>&quot;G.R.Srinivas&quot;
> &lt;srinivasgr@yahoo.com&gt; wrote:</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; Hi,</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; </FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; How to ftp a save
>file from PC
> to AS/400?</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; Suppose there is a
>save file
> named 'A'.</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; When I ftp it from
>PC to AS/400,
> a member named 'A'</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; is getting created
>in file
> 'A'(This is also getting</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; created).</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; When I look at
>objects, its type
> is *file and</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; attribute
>PF-DTA.</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; Kindly
>suggest.</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; Thanks in
>advance.</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; </FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; Srinivas.</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt;
>
>_________________________________________________________</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; Do You
>Yahoo!?</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; Get your free
>@yahoo.com address
> at</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; <A
>HREF="http://mail.yahoo.com"
> TARGET="_blank">http://mail.yahoo.com</A></FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; </FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; * * * * * * * * * *
>* * * * * *
> * * * * * * * * * * *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; * * * * * * * * *
>*</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; * This is the
>RPG/400 Discussion
> Mailing List!&nbsp; To</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; submit a
> new&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; * message, send your
>mail to
> &quot;RPG400-L@midrange.com&quot;.</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt;&nbsp; To
>unsubscribe&nbsp;&nbsp;
> *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; * from this list
>send email to
> MAJORDOMO@midrange.com</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; and
> specify&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; * 'unsubscribe
>RPG400-L' in the
> body of your message.</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt;&nbsp; Questions
>should *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; * be directed to the
>list owner
> / operator:</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt;
>
>david@midrange.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; * * * * * * * * * *
>* * * * * *
> * * * * * * * * * * *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; * * * * * * * * *
>*</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; &gt; </FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; </FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt;
>
>_________________________________________________________</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; Do You Yahoo!?</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; Get your free @yahoo.com
>address at
> <A HREF="http://mail.yahoo.com"
> TARGET="_blank">http://mail.yahoo.com</A></FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; </FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; * * * * * * * * * * * * *
>* * * * * *
> * * * * * * * * * * * * * * * *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; * *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; * This is the RPG/400
>Discussion
> Mailing List!&nbsp; To submit a
>new&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> </FONT>
> </P>
>
> <P><FONT SIZE=2 FACE="Arial">&gt;&nbsp; *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; * message, send your mail
>to
> &quot;RPG400-L@midrange.com&quot;.&nbsp; To
>unsubscribe</FONT>
> </P>
>
> <P><FONT SIZE=2 FACE="Arial">&gt;&nbsp; *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; * from this list send
>email to
> MAJORDOMO@midrange.com and specify&nbsp;&nbsp;&nbsp; </FONT>
> </P>
>
> <P><FONT SIZE=2 FACE="Arial">&gt;&nbsp; *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; * 'unsubscribe RPG400-L'
>in the body
> of your message.&nbsp; Questions</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; should *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; * be directed to the list
>owner /
> operator:
>david@midrange.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> </FONT>
> </P>
>
> <P><FONT SIZE=2 FACE="Arial">&gt;&nbsp; *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; * * * * * * * * * * * * *
>* * * * * *
> * * * * * * * * * * * * * * * *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; * *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">&gt; </FONT>
> </P>
>
> <P><FONT SIZE=2
>
>FACE="Arial">_________________________________________________________</FON
T
>>
> <BR><FONT SIZE=2 FACE="Arial">Do You Yahoo!?</FONT>
> <BR><FONT SIZE=2 FACE="Arial">Get your free @yahoo.com
>address at <A
> HREF="http://mail.yahoo.com"
> TARGET="_blank">http://mail.yahoo.com</A></FONT>
> </P>
>
> <P><FONT SIZE=2 FACE="Arial">* * * * * * * * * * * * * * * *
>* * * * * *
> * * * * * * * * * * * * * * *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">* This is the RPG/400
>Discussion Mailing
> List!&nbsp; To submit a
> new&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">* message, send your mail to
> &quot;RPG400-L@midrange.com&quot;.&nbsp; To
>unsubscribe&nbsp;&nbsp;
> *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">* from this list send email to
> MAJORDOMO@midrange.com and
>specify&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">* 'unsubscribe RPG400-L' in
>the body of
> your message.&nbsp; Questions should *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">* be directed to the list
>owner /
> operator:
>
>david@midrange.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> *</FONT>
> <BR><FONT SIZE=2 FACE="Arial">* * * * * * * * * * * * * * *
>* * * * * *
> * * * * * * * * * * * * * * * *</FONT>
> </P>
> </UL>
> </BODY>
> </HTML>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>* * * * * * *
> * This is the RPG/400 Discussion Mailing List!  To submit a
>new         *
> * message, send your mail to "RPG400-L@midrange.com".  To
>unsubscribe   *
> * from this list send email to MAJORDOMO@midrange.com and
>specify       *
> * 'unsubscribe RPG400-L' in the body of your message.
>Questions should *
> * be directed to the list owner / operator:
>david@midrange.com          *
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>* * * * * * *
>

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.