新しい投稿

検索

お知らせ
· 2024年10月4日

[Video] Accelerate DTL Coding with AI Cloud Service

Hey Community,

Watch this video to learn about AI Co-Pilot, which simplifies DTL coding and offers personalized assistance which makes it accessible to users with varying levels of technical expertise:

⏯ Accelerate DTL Coding with AI Cloud Service @ Global Summit 2024

Presenters:
🗣 @Renan Lourenco, Senior Technical Product Manager, InterSystems
🗣 @Julie Ma, Solutions Engineer, InterSystems  

Subscribe to our YouTube channel InterSystems Developers to stay in touch!

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

Can a business host know that the production is trying to shut down?

Hi all,

Does anyone know of a way for a business host (specifically an operation) to check whether the production it's running in is trying to shut down?

Cheers,

Otto

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

Connection problem with %SQLGatewayConnection

I'm trying to make a connection to an external database using %SQLGatewayConnection, but the connection always fails. DSN properly configured. I try to make the same connection through isql in bash, and the connection is successful.

This same connection fails in Caché.

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

Why is the XML export different when executed through various methods (VS Code, Studio, and the console)?

I have three different methods for exporting classes and projects as XML files, but each one produces slightly different output:

  1. Studio (what I currently use for exporting): I export as a project (with the 'only project' option disabled). This generates all classes and the project in a single XML file.
  2. VS Code: This method only exports the classes, and it doesn't include the project in the XML file.
  3. Console export using %SYSTEM.OBJ.Export: I used the following command to attempt the same export as Studio: do ##class(%SYSTEM.OBJ).Export("MyProject.Prj, MyProject.*.cls", "TempDir/MyProject.xml", "/exportselectivity=0", "", "utf-8") This exports both the project and the classes, but with a slight difference. The order of the project and class entries is different compared to Studio.

In Studio, the project is positioned between class definitions, like this:

<Class name=MyProject.M...> ... </Class>
<Project name="MyProject">...</Project>
<Class name="MyProject.Pendenz">...</Class>
<Class name="MyProject.Protokoll">...</Class>

However, when exporting via the console, the project appears in a different place:

<Class name=MyProject.M...> ... </Class> 
<Class name="MyProject.Pendenz">...</Class>
<Project name="MyProject">...</Project>
<Class name="MyProject.Protokoll">...</Class>

It seems the console export orders items alphabetically, which results in this difference."

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