Solved

Can't Delete AS400 LIB Because of File/Member Error

Posted on 2010-08-21
1
840 Views
Last Modified: 2013-12-06
I am trying to do a data refresh. I have removed all the locks on the LIB I need to delete.

I have issued the following command to delete the LIB:  DLTLIB TESTDTA

It started running for about 25mins. Then it just gave the error message below.

Can someone please help me get past this error? I assume I need to enter some command for that table. I'm not an AS400 expert so I will need some guidance.

Thanks!
8-21-2010-8-26-32-AM.jpg
0
Comment
Question by:matrix0511
1 Comment
 
LVL 13

Accepted Solution

by:
_b_h earned 500 total points
ID: 33491902

Get a list of what's left in the library:
WRKOBJ OBJ(TESTDTA/*ALL)

Look in your job log to see why the file cannot be deleted:
DSPJOBLOG
Press F10 to see lower level messages, and page up to see more details.

Use Display Database Relations (DSPDBR) command to see if there are logical files (logical views) over the physical file (table):
DSPDBR TESTDTA/F470371
This will list logical files that may need to be deleted.

Post back!
Barry
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
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.

810 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