RSTLIB from SAVF

165 pts.
Tags:
AS/400
AS/400 FTP
FTP
SAVF
Hi, I cannot rstlib from a savf... I get the error... "Objects from save file [file name] in [ELEMENTbrary name] not restored. Please help. Sorry for the duplicate posting.

Software/Hardware used:
9406-520
ASKED: May 27, 2010  2:18 PM
UPDATED: May 27, 2010  11:18 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

You need to drill down in your job to see the actual reason why the restore does not work. Put the cursor on the error message and press F1 to see the details and then press F10 to see the log for your job. look above this error for some other message that might show the cause like not authorized or save file cannot be restored because it isi not a save file. the later will happen when you FTP a save file over to another machine and the save file does not already exist. It will create a straight file on the other machine first before placing the save file contents in it with the FTP command. so first use the CRTSAVF command on the other machine to create the save file. Also make sure you issue the BIN (binary) command before you do the PUT statement.

Hope some of this helps.

Lovemyi

==============================================================

<i>the later will happen when you FTP a save file over to another machine and the save file does not already exist.</i>

The above is only partially true. It is true when (1) you are using a client such as Windows FTP client, (2) you are transferring under NAMEFMT 0, and (3) you are FTPing an object that doesn’t have a .SAVF extension.

When transferring a .SAVF file under NAMEFMT 1, savefiles will be created automatically. The system will handle savefiles correctly when the transfer options are correct and appropriate.

As always, savefiles <b>must</b> be transferred in BINARY mode.

Note that simple message text isn’t much help since there are multiple messages that can show the “Objects from save file [file name] in [library name] not restored.” text. We need to know what the message identifier is. E.g., it might be CPD372A, CPD372B, CPF3801 or a few others. There will also be additional text that should explain the most likely cause of a problem.

Tom

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Rayj1031
    One quick tip to see if the SAVF survived the trip over the ethernet - Once the savf has been transferred to the target system, use the command: DSPSAVF. If the results are anything but a precise display of the contents of the save file, delete the file and repeate the transfer process paying close attention to all of the tips mentioned earlier. If you can't display the SAVF with this command something in the process has corrupted it.
    335 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following