|
In James' case, he's probably using name format 0, so this statement
put jimsave/source.savf
put jimsave/source /qsys.lib/jimsave.lib/source.savf
quote site nam 1
All this is documented in the help for PUT in the 400 client. Execute
? put
on the FTP command line, then look for the "Default names" link.
So a script that should work might be
ftp username password bin quote site nam 1 put jimsave/source /qsys.lib/jimsave.lib/source.savf quit
HTH Vern
You must create the target save file first, or, from within ftp, you can do:
quote rcmd crtsavf tgtlib/tgtsavf
and then (in binary mode)
put srclib/srcsavf.srcsavf tgtlib/tgtsavf.tgtsavf (replace
Hope that helps!
----- Original Message ----- From: "James R. Newman, CDP" <newman400@xxxxxxxxxxx> To: "Midrange L" <MIDRANGE-L@xxxxxxxxxxxx> Sent: Friday, August 20, 2004 8:57 PM Subject: RSTLIB and *SAVF
I'm using FTP for the first time to move libraries from a 9402 to a 9406. I saved a library to a savfile called SOURCE in library JIMSAVE. Here's what I do on the 9402 to send the file:
strtcpsvr *ftp ftp username password bin put jimsave/source.savf
I've also tried this:
put jimsave/source.source
The file goes over into QGPL and the attribute gets changed to PF-DTA. Then when I try to do a RSTLIB I get a message saying "File SOURCE in QGPL not a save file". This is probably something really simple that I'm omitting. TIA.
As an Amazon Associate we earn from qualifying purchases.
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.