Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25" zv="IRIS for Windows (x86-64) 2022.1 (Build 209U)" ts="2023-07-20 12:35:39">
<Class name="in.BO">
<Super>Ens.BusinessOperation</Super>
<TimeChanged>66675,43352.7129041</TimeChanged>
<TimeCreated>66675,42686.1278222</TimeCreated>
<Parameter name="INVOCATION">
<Default>InProc</Default>
</Parameter>
/// Class to export/import various config items.
Class ZMSP.HCC.Importer
{
Query LUT() As %SQLQuery
{
SELECT DISTINCT TableName FROM Ens_Util.LookupTable
}
/// Export Lookup Tables into dir
Class CodeGolf.Leet
{
ClassMethod Convert(a As %String) As %String
{
; your code here
Q ""
}
}
Class User.Py
{
ClassMethod Test(arg1, arg2, arg3) As %DynamicArray
{
return [(arg1), (arg2), (arg3)]
}
ClassMethod Test2(arg As %DynamicObject) As %String
{
@eduard93
eduard93 / User.YAML.cls
Created April 30, 2021 14:44
YAML parser/writer for InterSystems IRIS. Convert YAML into %DynamicObject and vice versa.
/// YAML parser/writer for InterSystems IRIS.
/// Convert YAML into %DynamicObject and vice versa.
Class User.YAML
{
/// Entry point.
/// Before running this code the first time, execute: set sc = ##class(User.YAML).Install()
/// do ##class(User.YAML).Test()
ClassMethod Test()
{
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="IRIS" version="26" zv="IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2019.4 (Build 383U)" ts="2020-09-01 19:17:26">
<Global>
<Node><Sub>^isc.py.data.ContextD</Sub>
<Data>1</Data>
<Node><Sub>1</Sub>
<DataBase64>AgEdAW1sLmNhbS5lbnMuYnAuTG9hZGVyUHJvY2VzcyEBL3Vzci9pcmlzc3lzL21nci9UZW1wL2lu
ZGV4LmFubgwBBQEDATEFAQMBMgIBGQEyMDIwLTA5LTAxIDE5OjA1OjAxLjM1MgIB
</DataBase64>
<Node><Sub>Modules</Sub>
@eduard93
eduard93 / test.Production.xml
Created August 17, 2020 14:29
test.Production.xml
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="IRIS" version="26" zv="IRIS for Windows (x86-64) 2020.4.0ML (Build 519U)" ts="2020-08-17 17:28:01">
<Class name="test.Production">
<Super>Ens.Production</Super>
<TimeChanged>65608,62469.218744</TimeChanged>
<TimeCreated>65608,61935.696681</TimeCreated>
<XData name="ProductionDefinition">
<Data><![CDATA[
<Production Name="test.Production" TestingEnabled="true" LogGeneralTraceEvents="true">
@eduard93
eduard93 / test.xml
Last active May 8, 2020 14:45
Dataframe in ObjectScript manipulation
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="IRIS" version="26" zv="IRIS for Windows (x86-64) 2019.4.0ML (Build 147U)" ts="2020-05-08 17:43:53">
<Class name="test.person">
<Super>%Persistent</Super>
<TimeChanged>65507,60451.875534</TimeChanged>
<TimeCreated>65507,59112.748662</TimeCreated>
<Property name="Name">
<Type>%String</Type>
</Property>
@eduard93
eduard93 / TestParallel.xml
Created March 29, 2020 08:47
Parallel calls in InterSYstems IRIS interoperability BPL BPs
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2017.2 (Build 744U)" ts="2020-03-29 11:46:26">
<Class name="Test.BO">
<Super>Ens.BusinessOperation</Super>
<TimeChanged>65467,41832.259479</TimeChanged>
<TimeCreated>65467,41832.259479</TimeCreated>
<Parameter name="INVOCATION">
<Default>Queue</Default>
</Parameter>
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2017.2.1 (Build 801U)" ts="2020-03-04 07:28:49">
<Class name="Timeout.Child">
<ClassType>persistent</ClassType>
<Super>Ens.BusinessProcess</Super>
<TimeChanged>65442,25113.084596</TimeChanged>
<TimeCreated>65442,24047.302779</TimeCreated>
<Property name="Hang">
<Type>%Integer</Type>