Created
December 24, 2018 19:22
-
-
Save eduard93/412ed81e2bf619269ab4a49d939d2304 to your computer and use it in GitHub Desktop.
%ZSTART routine example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Export generator="Cache" version="25"> | |
<Routine name="%ZSTART" type="MAC" languagemode="0"><![CDATA[ | |
SYSTEM | |
try { | |
new $namespace | |
set $namespace = "PYTHON" | |
do ##class(isc.py.Callout).Setup() | |
set $namespace = "%SYS" | |
} catch ex { | |
zn "%SYS" | |
do ex.Log() | |
} | |
quit 1 | |
]]></Routine> | |
</Export> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment