Solved

Restore spool file in outq to my library

Posted on 2003-11-06
6
1,948 Views
Last Modified: 2009-09-29
Hi Experts.. I hope I'm in the right place...:)
I was to restore some spool files resides in an outq in a tape to my library. I've done it with RSTOBJ command but the result is only the outq created or copied into my library, not the spool files in it.
My question is, how do I restore the outq along with the spool files in it into my library?
Thanks.
0
Comment
Question by:Kerbeross
  • 3
  • 2
6 Comments
 

Author Comment

by:Kerbeross
ID: 9698725
Oppss... Before I forget, here is the command:
RSTOBJ OBJ(THEOUTQ) SAVLIB(THELIBRARY) DEV(TAP01) ENDOPT(*UNLOAD) RSTLIB(MYLIBRARY)
0
 
LVL 14

Expert Comment

by:daveslater
ID: 9699891
Hi
there is nothing in base AS/400 to save and restore spool files. There are third party products out there (some free)

There is a savoutq command at this link

http://www.geocities.com/~alex_nubla/tips.htm

I am not too sure abot the restore


Dave
0
 
LVL 14

Expert Comment

by:daveslater
ID: 9699909
There is a
Save restore spool file command on the Iseries network but you need to be a professional member to get to it (It is well worth while joining and costs about $200 per year)

http://www.iseriesnetwork.com/

search for

spool and file and restore

Dave
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 14

Expert Comment

by:daveslater
ID: 9699948
Hi again

one more link that may be on interest

http://www.mcpressonline.com/mc?13@216.W3XibhdXgbn.9@.6ae34a2c

dave
0
 
LVL 6

Accepted Solution

by:
dedy_djajapermana earned 125 total points
ID: 9711904
Hi,

When you save an OUTQ in AS/400, you don't actually save the spooled files contained in the OUTQ. So, if you only have the backup of the OUTQ, we can conclude that you don't have any backup of your spooled files.
Going forward, if you'd like to save your spooled files, you can make use of CPYFRMOUTQ free, unsupported tools from IBM that you have to compile yourself (check member AAAREADME in file QATTINFO in library QUSRTOOL, and search for CPYFRMOUTQ).
0
 

Author Comment

by:Kerbeross
ID: 9713087
Actually that's not exact answer but the nearest. My friend show me the right way. It is to restore the outq into a specified library, edit some library, override db file, get the restored outq attributes and the copy the spool file to my library. Anyway, thanks for the reply.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

One of the biggest threats in the cyber realm pertains to advanced persistent threats (APTs). This paper is a compare and contrast of Russian and Chinese APT's.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 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