how to move multiple savf from the ifs to a library iseries

How to Migrate Multiple AS/400 Files to a Library on IBM iSeries

By Jessica Lewis
AD

Moving multiple save files (SAVF) from an iSeries to a library involves several steps, including connecting to the iSeries, selecting the appropriate library, and using commands to transfer the files. This process requires a clear understanding of the iSeries platform and its file management system.

Before we dive into the steps, ensure you have the necessary permissions and knowledge to work with iSeries environments. Retrieving and moving files involves navigating through the iSeries operating system, which requires administrative or operator roles.

Connecting to the iSeries

The first step in transferring SAVF from an iSeries to a library is connecting to the iSeries. This requires using a terminal emulator like IBM'sixeBar' or a command-line Interface (CLI) like 'Stratix Command Center'.

AD
bookshelves with text overlay how to geney a library a beginner's guide
bookshelves with text overlay how to geney a library a beginner's guide
Build your free resource library & share your freebies
Build your free resource library & share your freebies
Folder vs. Library in SharePoint
Folder vs. Library in SharePoint

Once connected, you'll see a green screen prompt asking for an 'operator' or 'user' login. This varies depending on your iSeries environment. After successfully logging in, you'll navigate to the appropriate 'library' to manage your data.

Locate the current library

The 'library' is the file storage location in an iSeries. It's similar to a folder on a personal computer. To locate the current library, you can use the "WRKLIB" (work library) command. This command lists the active library in your iSeries session.

How Simplifying Library Orientations Will Simplify Library Management
How Simplifying Library Orientations Will Simplify Library Management
Easy School Library Orientation Plan (No Stress Back to School)
Easy School Library Orientation Plan (No Stress Back to School)

Simply key in 'WRKLIB' and press enter. You'll see a list of libraries, with the currently active one highlighted. You can navigate through these libraries using the 'option' key (PF1).

Selecting the destination library

Having located the current library, the next step is to select the destination library where you wish to move your SAVF files. You can use the "CHGLIB" (change library) command to switch to another library.

AD

Type 'CHGLIB', then enter the library name you want to change to. Press enter and confirm the change. You're now working within the specified library.

Moving SAVF files

Now that you're in the target library, you can move the SAVF files from the iSeries. You'll use the "MOVESAV" (move save file) command, which, as the name suggests, makes it easy to transfer save files.

Type "MOVESAV", then specify the source SAVF file name and press enter. You can also specify additional options like 'REPLACE' if the file already exists at the destination.

AD

Specifying the source SAVF file

Remember to specify the full or qualified file name of the SAVF you want to move. If the SAVF is in your current library, you don't need to specify the library name. The "MOVESAV" command will then move the SAVF file to the current library, i.e., your destination library.

Let's suppose you want to move the 'FILE1.SAV' from your 'LIB Files' to the current library. You would enter: 'MOVESAV FILE1 FROMLIB(LIB Files) REPLACE'.

Validating the move

After entering the "MOVESAV" command, the iSeries will ask for a 'confirm'. If you're satisfied with your entry, press 'enter'. The iSeries will then confirm the move, posting a message like: 'ACM0201I SAVF FILE1.MYLIB moved successfully'.

AD

Success! You've successfully transferred your SAVF file from one library to another within the iSeries. Repeat these steps for any additional SAVF files you need to move.

Modern iSeries environments can also use AS/400 (also known as IBM i) functions and commands for file management. Although command syntax might vary slightly, the general process of transferring files remains the same.

Next time you need to move SAVF files in an iSeries, remember these steps. Happy navigating! Now, you might want to explore other iSeries file management tasks, like creating new libraries, renaming files, or deleting unnecessary ones.

AD