Question Daniel Aguilar · Jan 18 Error <COLLATEMISMATCH> Studio Hello, I am writing to you because I am receiving a strange error on our Integration server after restoring a Production copy. On other occasions we had restored the Production copy on this server without problems (in fact it was done weekly) After restoring the copy when entering the Studio this error appears: #Caché 0 3 0 120
Question Daniel Aguilar · Dec 4, 2023 Storage %SYSTEM.Event Hello, How are you doing? I'm currently developing a proyect in wich I want to use %SYSTEM.Event to process queues. I realized that if a queue has events pending to be sent to the listeners, when I restart the cube the queue with all its events are deleted. Is there a way to store the queue with their messages in a Global? I've checked the documentation but I can't find any option for this prupose. #Key Question #Caché 0 10 0 250
Question Daniel Aguilar · Nov 29, 2023 $ZCRC with Streams Is there any way to perfom a cyclick redundancy of a "stream" instead of string? I know exists the method $ZCRC but I think it's only for strings. Thank you! #InterSystems IRIS 0 4 0 128
Question Daniel Aguilar · Mar 30, 2022 $ZTIMESTAMP in local time How do you get a $ZTIMESTAMP in local time?. I have found this solution and it works: Set LocalTimestamp=$ZDATETIMEH($ZTIMESTAMP,-3) Do you use any better way? #ObjectScript #Caché 0 5 0 262
Question Daniel Aguilar · Jul 13, 2021 Initialise object list How do you initialise a list of objects of a particular type? I have tried the following code and I get an undefined when I try to insert. I can do this and it works but I don't know if it is correct. Is there any way to do something like this? Set a= New list of Accciones() Thank you. #ObjectScript #Caché 0 3 0 233
Question Daniel Aguilar · Jul 13, 2021 Method return List of type Good afternoon I am making a method of a class that I want to return a list of objects of another class that I have defined, example: ClassMethod myMethod() As list of MyPackage.MyClass{} But it gives me a syntax error, I try this and it works: ClassMethod myMethod() As %ListOfObjects{} But I would like to keep the typing. Is there a way? #ObjectScript #Caché 0 5 0 372
Question Daniel Aguilar · Nov 4, 2020 Avoid $c(0) in globals Good Morning, I have this question for a long time. When I make an insert by SQL from an external application in the fields of type %String, if they are empty, it writes the character $c(0) in the global. Is there a way so that if an Insert is received in a field of type% String with null value instead of the $ c (0) it leaves it empty?: #.NET #Globals #SQL #Caché 0 7 0 852