Business component using a particular class
Hello,
I am trying to find or locate all Intersystems business components using a particular class. Like I want to find component is using abc.test.cls class.
Comments
In SQL, you can use the following query:
select * from %dictionary.compiledclass where primarysuper like '%abc.test.cls%'
@David Hockenbroch Thank you for your response, but I still don't see which operations (for e.g) are utilizing the abc.test.cls.
What kind of class is abc.test.cls?
Is this class inherited by business components? Is it a utility called from business components? A datatype class Other?
UPDATE: I had all the productions exported as .xml file and then opened the file in Notepad. With the help of ctrl F, I was able to locate which component is using the desired class name. This is a very manual way of doing it and is good until the prod config remain the same. Working on and interested to get an automated process of running it every time by providing the class name and it pulls the info.
For your response I assume you are searching for a class used by a Business Host component within a production.
Using IRIS you can search for that, and much more, using "Interface Reference" within the Management portal:
Unfortunately you are using an old version where this feature is not available.
Add this to the (possibly long) list of good reasons to move to IRIS.
Run this query:
SELECT *
FROM Ens_Config.Item
WHERE ClassName = ?