新しい投稿

検索

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年10月10日

How to Switch Namespaces and Access %SYS Namespace in an OpenAPI-Generated Classmethod?

Hello everyone,

I'm working with a class generated by OpenAPI in InterSystems IRIS, specifically impl.cls. In one of the classmethods of this class, I need to switch to the %SYS namespace to access system-level functionalities and then switch back to the original namespace.

I tried using the following commands:

new $namespace
set $namespace = “%SYS”

However, these give an error when executed. Is there a proper way to change namespaces programmatically within a classmethod and gain access to the %SYS namespace? Any best practices or example code snippets would be greatly appreciated!

Thank you!

5 Comments
ディスカッション (5)3
続けるにはログインするか新規登録を行ってください
お知らせ
· 2024年10月10日

[Video] Creating Virtual Models with Adaptive Analytics

Hi, Community!

Want to use your data to make better business decisions? Creating virtual models can help! See how:

Creating Virtual Models with InterSystems IRIS® Adaptive Analytics

In this video, you will learn:

  • How to quickly and easily create virtual data models
  • How the built-in AI of Adaptive Analytics improves your query speed

Continue learning with InterSystems IRIS Adaptive Analytics Essentials (online course, 2h).

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年10月10日

Simple Way To Compare Streams

Is there a simple way to compare Stream data between two objects?

We have used $ZCRC to create a checksum and that seems to be work.

We have also read each line of the streams and compared them and that seems to work too.

We just think there has to be a simpler way than looping through all the lines of the stream.

Any suggestions would be appreciated.

7 Comments
ディスカッション (7)3
続けるにはログインするか新規登録を行ってください