Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
AS/400 error message - Cannot allocate device

whn i process any action like to initialize a tape device... or display tape... i get error msg "cannot allocate device (tap01)" in the command window.. plz help... am new to AS/400... i want to initialzie a fresh tap to take backup... on daily process... but am gettin this error msg :(

share|improve this question

migrated from Jan 12 '11 at 18:05

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Iain, sysadmin1138, Ben Pilbrow, Scott Pack, RobM Jan 12 '11 at 18:37

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

This should be moved to ServerFault. – Keith Irwin Jan 11 '11 at 4:08
Add a detailed (F10'd) copy/paste of the joblog for the command in question. Also, pressing F1 with the cursor on the error message itself will give you more details. And include the error code (CPFxxxx). – Lawrence Dol Jan 11 '11 at 21:52

Without sufficient detail in the question, I suggest you do a WRKOBJLCK on the object (e.g. TAP01 *DEV) to see if something else has a lock on it which is preventing you from accessing it.

share|improve this answer

First thing I would look at is to make sure the device is varied on. WRKDEVD DEVD(TAP*) Then option 8 next to the device.

share|improve this answer