Restore spool file in outq to my library

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?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KerberossAuthor Commented:
Oppss... Before I forget, here is the command:
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

I am not too sure abot the restore

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)

search for

spool and file and restore

Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

Hi again

one more link that may be on interest


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).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KerberossAuthor Commented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IBM System i

From novice to tech pro — start learning today.