I have a class method that accepts a global parameter but when I attempt to order this global, the global name is listed as undefined. I can execute $DATA(pGlobalName) successfully.
ClassMethod ExamineGlobal(pGlobalName As %Global) {set gStatus=$DATA(pGlobalName) ; returns 1 write "This is the global name: "_pGlobalNameset gmin=$ORDER(pGlobalName("")) ; here pGlobalName is undefined}
In debug mode, data returns 1 for a valid global with no descendants. This is expected.
However, when I call $ORDER, it shows <UNDEFINED> for pGlobalName.





.png)

