Unable to Delete iSeries Physical File

Read Time:51 Sec

This morning, I was unable to delete an unused physical file because of the following error:

Message ID . . . . . . : CPF3219 Severity . . . . . . . : 40
Message type . . . . . : Diagnostic
Date sent . . . . . . : 08/20/13 Time sent . . . . . . : 08:30:16
Message . . . . : Cannot delete file or member of file F083510001 in
PRODDTA.
Cause . . . . . : If a member was referred to, the member name is *N. If
this is a delete operation, file F083510001 in library PRODDTA or a
member of file F083510001 was not deleted because dependent files or members
are based on either the file or the member. If this is a restore operation,
a problem occurred preventing a successful restore of file F083510001 in
library PRODDTA. This problem occurred after the restore operation had
already created the file in preparation for the load of the file’s data from
media. The restore operation was not able to delete this unsuccessfully
restored file because dependent files or members are based on either the
file or the member.

I used the following SQL command to delete the file:

 DROP TABLE PRODDTA/F083510001 CASCADE 

Author

Stewart Schatz

Career: Principal CNC Consultant for Syntax Systems Limited specializing Oracle JD Edwards EnterpriseOne and the technology that supports it. Side Hustle: Owner/Operator of E1Tips.com Location: Lancaster, PA USA  What I like to do: Invest in Family, Explore Technology, Lead Teams, Share Knowledge/Experience, Hunt, Hike, etc.

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Previous post Copy CommandLine Output To Windows Clipboard
Next post SQL Server Error: Cannot resolve the collation conflict between "Latin1_General_CI_AS_WS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation