Knowledge Base

Blog Faq400

IBM i & SQL Tips: Finding Unused Objects with QSYS2.OBJECT_STATISTICS

blog
Last Updated on 11 September 2025 by Roberto De Pedrini I’d like to share with you this interesting post by Massimo Duca , the first in a series of articles dedicated to SQL on IBM i. In this contribution, Massimo shows how to leverage the QSYS2.OBJECT_STATISTICS table to identify objects in specific libraries that have not been used for a long time, filtering them by their last used date . All the code in the post is available on Github! A practical and immediately applicable example, very useful for anyone looking to do some “housekeeping” in their environments and keep object usage under control. …

Riservato agli iscritti

Per leggere l'articolo completo serve un account Faq400: è gratuito e ti dà accesso anche a Willi, l'assistente AI, e a tutta la Knowledge Base.

Prova a chiederlo a Willi

Willi, l'assistente AI della community, risponde a queste domande usando questo articolo e le altre fonti Faq400. È gratuito: iscriviti e ricevi subito la risposta.

Chi legge questo, legge anche