× 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: Getting a PF to resemble a SAVF
  • From: "Joe Teff" <joeteff@xxxxxxxxxxxxx>
  • Date: Mon, 14 Feb 2000 19:48:56 -0600

>>A customer of ours took performance measurements, saved it to their
>>PC as a SAVF, and E-mailed the file to us.  We took the file, and FTP'd it
>>to our AS/400 - to analyze the results.  So we have the file on our 400,
>>but cannot RSTNETF the PF (as it is neither in the distribution queue,
>>nor known to the system as a SAVF).  Have we shot ourselves in the foot,
>>or is there a way to recover this? We still have the SAVF on our server,
>>so backing up a step would also be possible.

>If your customer FTP'd a save file to you, you can create a save file on
>your AS/400(via CRTSAVF) and then FTP the file you received to the save
>file and then use the RSTOBJ or RSTLIB command.


Did they FTP the SAVF from their AS/400 to the PC in binary mode? You
have to do that so it is not converted from EBCDIC to ASCII.

You can do the FTP from your PC to the AS/400 and create the SAVF in a
single step. Lets say our AS/400 is 192.100.20.10 with a User Profile of
ITS and a password of TIME4ABEER   -  gotta have a little fun :)    The
SAVF on the PC will be STATS.SAVF in the C drive.  We'll create the
SAVF in QGPL called STATS.

Using a DOS prompt, you would do

ftp 192.100.20.10
ITS  TIME4ABEER
quote site namefmt 1
bin
put  c:/stats.savf  /qsys.lib/qgpl.lib/stats.savf
quit


The first line starts an FTP session to your AS/400. The second line
signs you on. The third line says we are going to use the IFS naming
convention. The 4th line puts us in binary mode so there is no data
conversion. The 5th lines copies the SAVF to the AS/400 in a file
called STATS in QGPL and creates the file as a *SAVF. The last
line ends the FTP session.

Joe Teff

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


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.