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 :(

link|improve this question
1  
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). – Software Monkey Jan 11 '11 at 21:52
feedback

migrated from stackoverflow.com Jan 12 '11 at 18:05

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

closed as exact duplicate by Iain, sysadmin1138, Ben Pilbrow, Scott Pack, DJ Pon3 Jan 12 '11 at 18:37

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

2 Answers

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.

link|improve this answer
feedback

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.

link|improve this answer
feedback