× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



How we do it is

1. INV100 there is a command key to be deleting them.
If there is a cost or order or routings or BOM or some other thing open on what you think is a deleteable item, then you get an error message that could be more informative but can point you in direction of what needs clearing out first.

2. Now we have a bunch of IIM records that are SOFT CODED as deleted, but they do not actually go away from the disk space.

3. I have a simple program to physically remove the soft coded deleted records ... someone can give you an SQL statement ... I like to do this kind of thing inside a program because once it is right, no risk of el typo.

4. The BPCS SYS120 reorg does not recover the disk space, so I run the IBM file reorg.

5. There are an infinity of history files with records pointing at the gone away items, just waiting to be inherited by the next item that gets that item #. Cleaning that up could be a full time job. I was in fact working at that job when more important business needs got in the way.

Hi,

could somebody advice me how to delete unused IIM records?

Peter

__
Al Macintyre
BPCS/400 Computer Janitor at http://www.globalwiretechnologies.com/
See Al at http://www.ryze.com/go/Al9Mac
Find BPCS Documentation Suppliers http://radio.weblogs.com/0107846/stories/2002/11/08/bpcsDocSources.html

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.