Copy Library from one iSeries to Another via Ethernet

15 pts.
Tags:
AS/400 FTP
AS/400 Library
Backup
iSeries backup
SAVF
Is there an easier way to migrate libraries from one iSeries to another via Ethernet other than making a savf for each library and ftp the savf file to the other iSeries?

Software/Hardware used:
OS/400

Answer Wiki

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

hi,

If you have SNA Card you can transfer through SAVRSTLIB that is easiest way.

Save Restore Library (SAVRSTLIB)

Type choices, press Enter.

Library . . . . . . . . . . . . Name, generic*, *NONSYS…
+ for more values
Remote location name . . . . . .
Starting library . . . . . . . . *FIRST Name, *FIRST
Libraries to omit . . . . . . . *NONE Name, generic*, *NONE
+ for more values

Additional Parameters

Objects to omit:
Object . . . . . . . . . . . . *NONE Name, generic*, *ALL, *NONE
Library . . . . . . . . . . *ALL Name, generic*, *ALL
Object type . . . . . . . . . *ALL Character value, *ALL…
+ for more values
ASP device . . . . . . . . . . . * Name, *, *SYSBAS, *CURASPGRP
Target release . . . . . . . . . *CURRENT *CURRENT, *PRV, V5R2M0, …

Discuss This Question: 5  Replies

 
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
  • TomLiotta
    If you have 57xxSS1 option 22, ObjectConnect, installed and configured on the two systems, you might be able to use the SAVRSTLIB command. ObjectConnect is part of the base OS, but a lot of sites never get around to installing and using it. The command performs a variation of saving the library on a source system and restoring on a target system in a single step. SNA communications must be defined between source and target systems. You can run SNA over TCP/IP to use ObjectConnect. Other SAVRST* commands can also be used, e.g., SAVRSTOBJ or simply SAVRST. Tom
    125,585 pointsBadges:
    report
  • Rickmcd
    The Save/Restore Library (SAVRSTLIB) command allows the user to save and restore a copy of one or more libraries to another system. The system must have a supported communication link with the restoring system. Documents and folders contained in the QDOC library can be saved and restored by using the Save/Restore Document Library Object (SAVRSTDLO) command. The SAVRSTLIB command saves and restores the entire library; this includes the library description, the object descriptions, and the contents of the objects in the library. For job queues, message queues, output queues, data queues, and logical files, only the object definitions are saved and restored, not the contents. Logical file access paths can be saved and restored by specifying ACCPTH(*YES). The contents of a save file can be saved by using the Save Save File Data (SAVSAVFDTA) command. By specifying SAVFDTA(*YES) on the SAVRSTLIB command, the contents of a save file can be saved and restored. The libraries and their objects are not affected on the system unless the command specifies that the storage is to be freed. If a group of libraries is saved by specifying *NONSYS, *ALLUSR, or *IBM for the LIB parameter, the date, time, and place are updated in the history information for a data area in QSYS (data area QSAVLIBALL, QSAVALLUSR, or QSAVIBM). The types of objects saved and restored by this command are the same as those listed in the OBJTYPE parameter description in "Commonly used parameters: Expanded descriptions" in the CL concepts and reference topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter, with the addition of *DTADCT. Certain OS/400 system objects that are not contained in user libraries (such as user profiles) are not saved and restored by this command. They can be saved by the Save System (SAVSYS) or Save Security Data (SAVSECDTA) commands, and restored by using the Restore User Profile (RSTUSRPRF) command. Restrictions: To use this command, the user must have either the special authority *SAVSYS specified in the user profile by the SPCAUT parameter, or the user must have: Read authority for, or be the owner of, each library specified. Object existence authority for each object in the library. If the user does not have the correct authorities for all of the libraries and objects specified, only those for which the user does have authority are saved and restored. No library that is being saved and restored, or the objects in the library being saved and restored, can be updated by a job that is running at the time the save and restore operation occurs unless save-while-active (SAVACT) is used. When the contents of a save file are saved and restored by specifying SAVFDTA(*YES), the save file must be restored before objects contained in it can be restored. Both systems intended to participate in the save and restore operation must be connected to the same APPN network or, if the OptiConnect/400 option is to be used, both systems must be joined by the OptiConnect for OS/400 hardware and software.
    1,630 pointsBadges:
    report
  • Jryan
    I'll try both the savrstlib and the option of putting multiple savf in one lib and making one savf to ftp to see what option works best for me. Thank You
    15 pointsBadges:
    report
  • TomLiotta
    ...to see what option works best for me. If APPN isn't already working between the two systems or if ObjectConnect isn't installed on both systems, then the multiple-savf option will almost certainly be the easiest method. You would have a new library that would contain multiple savefiles, one for each library that you want to transfer. The new library would then be saved into a larger savefile, and that's the savefile that you would transfer to the other system. When you save that library, be sure that SAVFDTA(*YES) is set on the command. If the SAVLIB command on your system has SAVFDTA(*NO) set as the default, the savefiles won't get included. Tom
    125,585 pointsBadges:
    report
  • Jryan
    [...] 8. CharlieBrowne, TomLiotta, and Rickmcd shared some coding ideas for a member wanting to copy a library from one iSeries to another via ethernet. [...]
    0 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