go to post Robert Cemper · May 8, 2024 #1 iris runs in /usr/irissys/#2 iris view shows the actual status#3 check messages ./mgr/message.log for detailed reasons
go to post Robert Cemper · Apr 29, 2024 And here is the real documentation on $VECTOR in ObejctScript.And also well hidden: $VectorOperations
go to post Robert Cemper · Apr 29, 2024 As you now explained what you really are looking for: $System.SQL.Schema.SetDefault() From Docu: classmethod SetDefault(schema As %Library.String = "", ByRef oldval As %Library.String, Namespace As %Library.Boolean = 0) as %Library.Status Sets the default schema used by SQL.This configuration setting provides the ability to define a default schema name other than SQLUser, the default. When an unqualified table name is encountered in an SQL statement (and there is no #import statement specified), the default schema will be used. This setting has nothing to do with the mappings between SQL schema names and the class package name, it only specifies the default schema. Parameter: schemaString containing the default SQL schema name. If schema is "" or not defined, the default schema will be set to SQLUser.oldvalPassed By Reference. Contains the previous value of the setting.NamespaceBoolean 1/0 flag. If TRUE, set the default schema for the current namespace only. The default for Namespace is FALSE Returns: Status Code NOTES: - You must have the "USE" permission on the %Admin Manage Resource in order to change this configuration setting.- Changing this configuration setting will affect all processes immediately.
go to post Robert Cemper · Apr 27, 2024 I found the correct use of host variables in embedded SQL: UPDATE: TO_VECTOR(:myvec,INT,2) set myvec="1314,-7979" Nothing special: Just a plain String with comma separated valuesIt seems I couldn't believe that simple approach.My apologizes to ISC Engineering.
go to post Robert Cemper · Apr 27, 2024 I just discovered in class code a different way to get Vector Values from object USER>set obj=##class(AG.GEO).%OpenId(13) USER>write obj.VBASE 8EB052EF186E024A8AAC58ED708EB114@$vector USER>zwrite obj.VBASE {"type":"integer", "count":2, "length":2, "vector":[4812,-1622]} ; <VECTOR> ; ;;; THIS is from the generated code USER>set vec=obj.VBASELogicalToOdbc(obj.VBASE) USER>zw obj=<OBJECT REFERENCE>[17@AG.GEO] vec="4812,-1622" USER>
go to post Robert Cemper · Apr 24, 2024 From Terminal in namespace %SYS you can run DO ^JOBEXAM select your job by list of PID Job# NSpace Routine Commands Globals State PID Current device 23 USER shell 425 64 READ 17060 |TRM|:|17060 Namespace: USER SessionID: Routine: shell Open Devices: |TRM|:|17060* Mem Lim/Peak/Curr: 256M/154K/116K In Trans: No Priority: 8 Info: User Name: UnknownUser Roles/EscalatedRoles:%All/None OS User Name: cemper EXE Name: Client Node Name: TRM: IP Address: 127.0.0.1 Location: PrivGblBlks: 3 Last reference: ||RCC(5) Current line: Entry Process X# S# Flg Item Locked (V)ariable, (L)ocks, (S)tack, (P)rocess Private Globals, (Q)uit => P and can see PPG Process Private Global (?): RCC ^||RCC(1)=1 ^||RCC(2)=2 ^||RCC(3)=3 ^||RCC(4)=4 ^||RCC(5)=5 Process Private Global (?):
go to post Robert Cemper · Apr 24, 2024 Hi @Michael Davidovich !you hit exactly what I addressed in in my recent article The bewitched line terminator As long as you get (text-) files from your own OS the default is OKBUT: if you work cross OS platforms - rather likely for CSP pages -the approach of %CSP.BinaryStream is the best for import.For output stream you have to decide based on the expected target OS.My personal trigger to that subject was file transfer betweenWIN as Docker host and a Container (Ubuntu) causing a lot of confusion until detected.
go to post Robert Cemper · Apr 23, 2024 System Utility %ETN.int takes a snapshot with all actual variables somehow similar to WRITE commandDescription: Using %ETNIt may give you some feeling how to analyze a running process.ATTENTION: reading requires some experience in ObjectScriptyou might get lost
go to post Robert Cemper · Apr 19, 2024 Functional Background (since decades) - simple ; (semicolon) is passed down into the final .INT code (and generated .OBJ)useful it working with $TEXT() functionwhile- #; in CLS or MAC is skipped while compiling .INTso it is smaller saves spacemainly useful for larger comment blocks kept for documentation
go to post Robert Cemper · Apr 17, 2024 Is there some deeper reason not to contact LIB-IT DMS that produced FILERO ?They should know from the hip where their code is located and how to move it.As your installation is talking German, there should be no lingual hurdle. They even offer TeamViewer Support
go to post Robert Cemper · Apr 16, 2024 Are you sure your HealthShare and the related ODBCdrivers are all 64bit?the ending U of your $ZV might mean Unicode == 64 bit And OK. SMP doesn't need any ODBC
go to post Robert Cemper · Apr 16, 2024 If XML content is well formattedit might be sufficient to remove all trailing text before<?xml version="1.0" encoding="UTF-8 ?>
go to post Robert Cemper · Apr 16, 2024 still works.* don't forget all CSP content * don't forget to run $SYSTEM.OBJ.Upgrade()
go to post Robert Cemper · Apr 16, 2024 Way back some years I simple renamed CACHE.DAT to IRIS.DAT with IRIS stopped.No guaranty this still works.
go to post Robert Cemper · Apr 13, 2024 For testing I'd suggest to try an IRIS Community version Latest IRIS 2024.1 runs fine on Win11the testing effort for that archaic code would be the same either for IRIS or latest Cachéthe gap to bridge is about 2 decades in any case
go to post Robert Cemper · Apr 11, 2024 you describe 2 different record layouts that reside within the same storage #1 - just a name#2 - a name + a "transferred" property depending on the situation you use either layout #1 or layout #2 for INSERTreading might be OK for layout #2 in both cases. Caché once had a somewhat similar sample with Personand Employee extending Person. available here: https://docs.intersystems.com/iris20241/csp/docbook/Doc.View.cls?KEY=ASAMPLESthis Repo:https://github.com/intersystems/Samples-Data/tree/master/cls/Sample
go to post Robert Cemper · Apr 11, 2024 set var="MyClass" execute "set obj=##class("_var_").%New()" a bit dirty but matches your request
go to post Robert Cemper · Apr 10, 2024 BTW: from bash inside the container run /iris-main -h to see all available options