Skip to content

Instantly share code, notes, and snippets.

@eduard93
Created December 24, 2018 19:22
Show Gist options
  • Save eduard93/412ed81e2bf619269ab4a49d939d2304 to your computer and use it in GitHub Desktop.
Save eduard93/412ed81e2bf619269ab4a49d939d2304 to your computer and use it in GitHub Desktop.
%ZSTART routine example
<?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