Hello,
This isn't the question you asked, but since you mentioned $ZU functions, please bear in mind that:
- $ZU functions are deprecated
- $ZU functions are no longer documented
- Users are encouraged to replace $ZU functions with methods and properties in InterSystems class libraries that perform the equivalent actions
Your specific example, $ZU(67,15,$j), is replaced by ##class(%SYSTEM.Process).ClientIPAddress($j).
Best,
Aaron
Hello Bob,
I believe something similar to the following is what others have been suggesting.
if ('$test) { write !,"Failed to open "_file quit }
use file
do ALL^%SS
close file
quit
This works for me. Is this what you did? Is it not working for you?
Note that, unlike my minimal example, your code should of course include proper error trapping/handling.
Hope that helps,
Aaron
Certifications & Credly badges:
Aaron has no Certifications & Credly badges yet.
Global Masters badges:
Aaron has no Global Masters badges yet.
Followers:
Aaron has no followers yet.
Following:
Aaron has not followed anybody yet.
$ZU functions are deprecated and no longer documented, and users are encouraged to replace $ZU functions with methods and properties in InterSystems class libraries that perform the equivalent actions.
In this case, $zu(96,14) is replaced by ##class(%Library.Device).GetType()