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

Home > Custom function to retrieve environment?

Question
Scott Beeson · Jan 21, 2016

Custom function to retrieve environment?

I want to do some logic based on what environment code is running in. I can't find a built-in function to retrieve this so I'd like to write a custom function. Does anyone know of a command that would get the current environment?

#Caché

Source URL:https://community.intersystems.com/post/custom-function-retrieve-environment