Solved

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

Posted on 2010-08-21
1
864 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.

695 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