Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Restore Library in AS400 ?

Posted on 2004-10-21
3
Medium Priority
?
1,337 Views
Last Modified: 2008-02-01
Hi, I want to ask to you .
I have backup library in tape (Compress). My name library is teknik, in teknik some 10 table, ect
 Library teknik
     Table tk01f, tk02f, tk03f, tk04f........ and tk10f.

What is syntac restore in as400 ? I want to restore one table tk03f with new table tkbckf  and table tk03f don't replace ?
Please, gime me advice



regard
tri

     
0
Comment
Question by:triary
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Accepted Solution

by:
Dave Ford earned 200 total points
ID: 12400786
Since you want to replace some files and not replace others, it's best to restore everything to a temporary location. Then, you can replace or add records in any way you desire.

Assuming the library was saved with SAVLIB, you could do:

CRTLIB LIB(MYSTUFF)

RSTLIB SAVLIB(TEKNIK)
       DEV(TAP01)    
       RSTLIB(MYSTUFF)

Of couse, you'd substitute your tape device name for "TAP01".

Alternately, you could use RSTOBJ:

RSTOBJ OBJ(*ALL)      
       SAVLIB(TEKNIK)
       DEV(TAP01)    
       RSTLIB(MYSTUFF)

Good luck!

Dave
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question