go to post Enrico Parisi · Apr 19, 2024 I agree that I don't like #; as a comment BUT, I prefer ; instead, I'm not a fan of // comments, probably because I'm an old InterSystems user. Fortunately there is a way to change it, thank you for sharing the details.
go to post Enrico Parisi · Apr 18, 2024 Beware that OnFailureTimeout() does not work as expected as described in this post. The issue is present up to 2023.3 and is fixed in 2024.1.
go to post Enrico Parisi · Apr 18, 2024 Set Found=0 Set Id="" For { Set Id=$order(^DataTest(Id)) Quit:Id="" If $listget(^DataTest(Id),2)=1516 { Set Found=1 Quit } } If Found Write "Found 1516 in Id: ",Id,!
go to post Enrico Parisi · Apr 18, 2024 What problem are you facing configuring system default settings for Ens.Alert component? If should work as any other component. I suggest to read the relevant documentation for your version: Defining System Default Settings and if you find some issue please provide some detail of the specific problem you are facing.
go to post Enrico Parisi · Apr 5, 2024 That class is part of HealthShare, AFAIK is not part of IRIS for Health
go to post Enrico Parisi · Apr 5, 2024 Please note that all timestamps (TimeCreted, TimeProcessed) in Ens.MessageHeader use Ens.DataType.UTC datatype. It's UTC time. So, in what mode is your query running? GETDATE() : A date/time function that returns the current local date and time.
go to post Enrico Parisi · Apr 3, 2024 these are system classes that are part of the product that do exists in the new installed version in the %SYS namespace. If the Studio screenshot you have posted is not from the %SYS namespace (it really does not seems so), then probably the System package is mapped to that namespace, possibly also the related globals. But...I'm guessing here from the little details and context you provide.
go to post Enrico Parisi · Apr 3, 2024 You had 24 errors during compilation, maybe (probably) one of the 24 is the "missing" class. Can you try to compile that class individually?
go to post Enrico Parisi · Apr 3, 2024 If your classes are in deployed mode, then you need the source code that (hopefully) was saved before deploying the classes.
go to post Enrico Parisi · Apr 3, 2024 If %f is not working in your environment my guess is that, for some reason, the property OriginalFilename is not set in the incoming message to your EnsLib.File.PassthroughOperation Business Operation. Where is the incoming message coming from? Why the OriginalFilename is not set?Can you provide some more details on your environment?
go to post Enrico Parisi · Apr 2, 2024 Often the if command is used for $increment because that is the "cheapest"/lightest way to increment a (local/global) variable.In other words, it's a kind of performance optimization when using $increment. Personally I use all the times I use $increment and I don't need the incremented value back.
go to post Enrico Parisi · Apr 2, 2024 For your response I assume you are searching for a class used by a Business Host component within a production. Using IRIS you can search for that, and much more, using "Interface Reference" within the Management portal: Unfortunately you are using an old version where this feature is not available. Add this to the (possibly long) list of good reasons to move to IRIS.
go to post Enrico Parisi · Apr 2, 2024 Once you have configured jdbc or odbc gateway to your sqllite DB, then the easier way is to use data migration wizard, from Magegement Portal: System Explorer -> SQL, then Wizards -> Data Migration "The Data Migration Wizard will help you copy SQL table definitions and data by using your defined SQL Gateway connections."
go to post Enrico Parisi · Apr 2, 2024 For 2 & 3 you setup IRIS to connect to sqlite via jdbc/odbc and then import data and definitions.
go to post Enrico Parisi · Apr 2, 2024 What kind of class is abc.test.cls? Is this class inherited by business components? Is it a utility called from business components? A datatype class Other?
go to post Enrico Parisi · Apr 2, 2024 Three options come to my mind: 1) export to CVS and use IRIS import 2) use sqlite JDBC 3) use sqllite ODBC Using 2 or 3 you can import data and definitions directly
go to post Enrico Parisi · Apr 2, 2024 Have a look to this post: https://community.intersystems.com/post/call-stored-procedure-select-ins...
go to post Enrico Parisi · Apr 2, 2024 Does git-source-control works with Caché 2017? The Prerequisites mention only IRIS.
go to post Enrico Parisi · Apr 2, 2024 Yes, ..%RequestHeader.TimeCreated in BO contains the exact time (up to the millisecond) when the BO's request message was created.