查找

お知らせ
· 2024年7月19日

[Vidéo] Renforcer la coordination Ville-Hôpital et la consolidation de services numériques

Salut la Communauté!

Profitez de regarder la nouvelle vidéo sur la chaîne Youtube d'InterSystems France :

📺 Renforcer la coordination Ville-Hôpital et la consolidation de services numériques

🗣 Intervenant : @Florence Cureau, Solution Architect InterSystems

Entre la crise de l'hôpital et un patient qui veut être acteur de son parcours de santé, une révolution est en marche. Florence présente HealthShare, qui apporte une réponse rapide et éclairée, en reliant le monde de la médecine libérale et l'hôpital pour une prise en charge globale. Découvrez comment HealthShare vise à créer un cercle vertueux au bénéfice du patient.

Abonnez-vous à notre chaîne youtube pour plus de vidéos et restez à l'écoute !

1 Comment
ディスカッション (1)2
続けるにはログインするか新規登録を行ってください
記事
· 2024年7月18日 2m read

InterSystems 常见问题系列--如何使用命令获得应用错误 (^ERRORS)

InterSystems 常见问题系列

使用 ErrorList 查询 SYS.ApplicationError 类.

  • 注 1: 在 %SYS 命名空间中运行.
  • 注 2: 这是个非存储的utility, 所以我们用 %ResultSet 类而不用 %SQL.Statement.

执行命令的例子如下.

USER>set $namespace="%SYS"   //equal to zn "%SYS"
%SYS>set rset=##class(%ResultSet).%New()

%SYS>set rset.ClassName="SYS.ApplicationError"
%SYS>set rset.QueryName="ErrorList"
// The first argument of the query is the namespace name, the second argument is the date (in MM/DD/YYYY format).
%SYS>do rset.Execute("USER","08/17/2020")

// To display the results on the screen, execute the %Display() method.
%SYS>do rset.%Display()
Error # Error message   Time    Process DisplayPID      Username        Code line
1 <DIVIDE> 02:43:10 2536 2536 irisowner

1 Rows(s) Affected

%SYS>do rset.Close()

以下显示如何获得在浏览行时获取SELECT的列值The following shows how to get column values ​​of a SELECT while navigating through rows.

使用Next()方法来移动到一行(如果行存在的话返回1)

获取一列的话使用 Get("column name"). 具体列名,请参考类文档里面的ErrorList 查询描述。

关于ErrorList 查询的列名.

%SYS>do rset.Execute("USER","08/17/2020")

%SYS>while rset.Next() { write rset.Get("Error #"),"-",rset.Get("Error message"),"-",rset.Get("Time"),"-",rset.Get("Code line"),!}
1-<DIVIDE>-02:43:10-

For terminal viewing, you can also use the ^%ER routine.

Execute the following while in the namespace you want to reference (the example is executed in the USER namespace).

The green bold underlined text indicates the input area.

USER>do ^%ER
 
For Date: ?L
Thu 09/17/2020  (T)   2 Errors
Mon 09/07/2020  (T-10) 3 Errors
Mon 08/31/2020  (T-17) 1 Error
Mon 08/24/2020  (T-24) 1 Error

For Date: 09/17/2020  17 Sep 2020   2 Errors

Error: ?L
 1. " *a"  at  9:05 am.   $I=|TRM|:|13484   ($X=0  $Y=15)
     $J=13484  $ZA=0   $ZB=$c(13)   $ZS=262144 ($S=268271680) 
 2. "^%ETN"  at  9:05 am.   $I=|TRM|:|13484   ($X=0  $Y=17)
     $J=13484  $ZA=0   $ZB=$c(13)   $ZS=262144 ($S=268263368)
     %ETN     ;%STACK-related error log

 Error: 1
 1. " *a"  at  9:05 am.   $I=|TRM|:|13484   ($X=0  $Y=15)
     $J=13484  $ZA=0   $ZB=$c(13)   $ZS=262144 ($S=268271680)
Variable:

Error:
 
For Date:
USER>

日期: 错误发生的日期格式为 mm/dd/yyyy

错误: 明确错误编号.

看完之后,回车即可退出。

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

InterSystems 常见问题系列--如何在global ^ERRORS 里面加入应用日志

InterSystems 常见问题系列

可以通过 TRY-CATCH 来完成:

 #dim ex As %Exception.AbstractException
 TRY {
    //Code that causes an error
  }
  CATCH ex {
     do ex.Log()
  }

如果用了 ^%ETN, 从BACK 接入点 (BACK^%ETN)处调用.

请参考另外一篇文章: 如何使用命令获得应用错误 (^ERRORS)

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

Would like some clarification on Class Markdown in https://ideas.intersystems.com/ideas/DPI-I-542

I am a first time Python Contest participant and am interested in potentially implementing the community idea found in https://ideas.intersystems.com/ideas/DPI-I-542 if it is something relevant to Python.

Would anyone be able to shed a bit of light on what the desired outcome of that idea being implemented is? There were a lot of upvotes on that idea but there wasn't very much information in it. Thanks!

2 Comments
ディスカッション (2)2
続けるにはログインするか新規登録を行ってください
InterSystems公式
· 2024年7月18日

IAM 2.8.4.10 & 3.4.3.10 Release Announcement

InterSystems API Manager (IAM) versions 2.8.4.10 and 3.4.3.10 are now Generally Available.  These are the latest versions of the two long-term supported versions of IAM. These release contain important fixes and all customers are encouraged to upgrade.

Customers on IAM 3.0 or 3.2 are encouraged to upgrade to 3.4.3.10 as support for those versions will soon come to an end.

IAM is an API gateway between your InterSystems IRIS servers and applications, providing tools to effectively monitor, control, and govern HTTP-based traffic at scale. IAM is available as a free add-on to your InterSystems IRIS license.

IAM can be downloaded from the Components area of the WRC Software Distribution site

Follow the Installation Guide for guidance on how to download, install, and get started with IAM.  The complete IAM 3.4 documentation gives you more information about IAM and using it with InterSystems IRIS. Our partner Kong provides further documentation on using IAM in the Kong Gateway (Enterprise) 3.4 documentation

IAM is only available in OCI (Open Container Initiative) a.k.a. Docker container format. Container images are available for OCI compliant run-time engines for Linux x86-64 and Linux ARM64, as detailed in the Supported Platforms document.

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