Skip to Content
author's profile photo Former Member
Former Member

Find the Include Programs which are not used

Hii..

I have to write a code to find out all the Include programs in my system which are not used. I am unable to find the correct table for that. I checked TADIR & Reposrc tables, but i am unable to differentiate between the "Includes which are used" and the "Includes which are not used". Let me know if there is any table which differentiates this.

Thanks.

Best Regards,

Srikanth.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 07:13 AM

    Hii All,

    Any help on this is much appreciated.

    I need to find all the Z Includes which are not at all used in the Main programs.

    I can get all the Includes from TADIR or REPOSRC tables, but after that how to find out which include is not used? Manually it takes much time as we have more than 1000 includes.

    Plz help.

    Thanks.

    Best Regards,

    Srikanth.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 09, 2009 at 07:37 AM

    Hi,

    Using REPOSRC table, you can get all the program type I(include program).

    As suggested, you can then use D010INC table and input all the includes which was found from REPOSRC table. For the includes which doesn't have any matching entry, then we can determine that it is not been used.

    Edited by: Jayanthi Jayaraman on Sep 9, 2009 3:41 AM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.