Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


As400 - not able to allocate tap02 ?

Posted on 2007-07-24
Medium Priority
Last Modified: 2013-12-06
Okay, I'm learning my way through our AS400, V5R3.  Right now I'm setting up a test environment.  I've done the full backup and am restoring the libraries from the tape (tap02) with the test environment names.  My full backup is on two tapes.  The backup was completed on 7/17/07.  Because the RSTLIB function seems to shut down jobs necessary for us to run our daily environment I'm doing this after hours.  Last week I restored 7 libraries with no problem.  Got back to it this morning and when entering the RSTLIB command I receive an error of "Not able to allocate object TAP02."  If I try to check the contents of the tape (with DSPTAP DEV(TAP02)) I receive "Cannot allocate device TAP02."  I don't know why I am receiving these errors.  Can someone with more experience than me (and I am a definite newbie on the AS400) explain these error messages and provide some pointers?  Thanks.
Question by:michko

Accepted Solution

larksys earned 2000 total points
ID: 19555449
Start with WRKACTJOB and look for any job that has TAPW or LCKW as a status. It's probaby related to your last restore job or a current backup job. You might want to WRKCFGSTS *DEV and look at the status of the tape device. It may need to be varied on. I'm assuming that you have full privileges on the AS400. Actually, the first thing to do is DSPMSG QSYSOPR and see if there are any messages about TAP02.
LVL 27

Author Comment

ID: 19555841
Got it, last backup job hadn't closed successfully.  Thanks.


Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

572 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