As400 - not able to allocate tap02 ?

Posted on 2007-07-24
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
    LVL 1

    Accepted Solution

    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

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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
    In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now