Published on InterSystems Developer Community (https://community.intersystems.com)

Home > How to check that business host is in production?

Question
Eduard Lebedyuk · Dec 4, 2019

How to check that business host is in production?

For simplicity sake let's say that we talk about active production.

I need to know if the business host is added to the production or not.

Currently I have:

do ##class(Ens.Director).IsItemEnabled("HostName", .sc)
set defined = $$$ISOK(sc)

Which looks like a workaround.

#Beginner #Ensemble

Source URL:https://community.intersystems.com/post/how-check-business-host-production