User bio
404 bio not found
Member since Feb 1, 2021
Posts:
Replies:
If you are looking for the class name where a currently-running method originates, you could also try:
set method = $CLASSNAME($THIS)_"||"_$P($Stack($stack,"PLACE"),"+",1)
&sql(select Origin into :origin from %Dictionary.CompiledMethod where ID1 = :method)
w origin,!
Are you trying to get all of the classes that a class extends? You can do that like this:
set classname = $CLASSNAME($THIS)
&sql(select primarysuper into :super from %dictionary.compiledclass where id=:classname)
w super,!
If you do that, super is a ~ separated list of the class and everything that it inherits from, which is probably actually more information than you need.
Certifications & Credly badges:
David has no Certifications & Credly badges yet.
Global Masters badges:
![Popular writer](https://community.intersystems.com/sites/default/files/badges/poular_writer.png)
![Notable writer](https://community.intersystems.com/sites/default/files/badges/303371140-d391d770-6fa4-4540-a8d5-926f8dfe9f61.png)
![Blogger Badge](https://community.intersystems.com/sites/default/files/badges/blogger_badge_0.png)
![Reporter Badge](https://community.intersystems.com/sites/default/files/badges/reporter_badge_0.png)
![Curious Member](https://community.intersystems.com/sites/default/files/badges/curious_member_badge.png)
![Thorough Member](https://community.intersystems.com/sites/default/files/badges/thorough_member_badge.png)
![Global Master of the Month](https://community.intersystems.com/sites/default/files/badges/gm_of_the_month_copy.png)
Followers:
Following:
David has not followed anybody yet.
Just FYI, CSP sessions are instances of %CSP.Session. You could do ##class(%CSP.Session).%OpenId("wuuZ2Gwgxw") to get the session and use some of the properties and functions there to get more information on what's going on. And since they extend %Persistent, you can also use %DeleteId (at your own risk, of course).