New post

Find

Article
· Jul 20, 2022 2m read

IRISの開始/停止の状態をファイルに出力する方法

irisコマンドのqlistまたはlistを使用して出力先をファイルにして出力することができます。

qlistの結果は、^を区切り文字としたテキスト形式で出力されます。

^で区切られた3番目の部分に稼働状況のデータがあります。

$ iris qlist IRIS > iris.log
$ cat iris.log

IRIS^/Applications/iris^2022.1.0.164.0^running, since Thu Apr  7 16:37:03 2022^iris.cpf^1972^52773^0^alert^IRIS^^^/Applications/iris

 

 

listの場合には、先頭にstatus:と表示された行に稼働状況のデータがあります。

 

Unix系のOSの場合

$ iris list IRIS > iris.log
$ cat iris.log

Configuration 'IRIS'   (default)

directory:    /Applications/iris

versionid:    2021.2.0.650.0

datadir:      /Applications/iris

conf file:    iris.cpf  (SuperServer port = 1972, WebServer = 80)

status:       running, since Thu Apr  7 16:37:03 2022

state:        alert

product:      InterSystems IRIS

 

Windowsの場合

state行が表示されません。

$ iris list IRIS > iris.log
$ type iris.log

Configuration 'IRIS' (default)

directory: c:¥InterSystems¥IRIS

versionid: 2021.2.0.650.0

datadir: c:¥InterSystems¥IRIS

conf file: iris.cpf (SuperServer port = 1972, WebServer = 80)

status:  running, since Thu Apr 7 16:37:03 2022

product: InterSystems IRIS
Discussion (0)1
Log in or sign up to continue
Article
· Jul 20, 2022 2m read

タスクの起動でエラーが発生した時にメールで通知する方法

タスク成功時・失敗時、それぞれ通知メールを送信することができます。

そのためには事前にターミナルからTASKMGRルーチン を実行して、メールサーバを登録する必要があります。

> zn "%SYS"
> do ^TASKMGR

1) タスク作成
2) タスク編集
3) タスク一覧
4) タスク削除
5) タスク一時停止
6) タスク再開
7) タスク実行
8) タスクリポート
9) タスクマネージャオプション
10) 終了 
 

そして、メニューから9) タスクマネージャーオプションを選んで 

オプション?9
 
1) タスクマネージャ情報
2) タスクマネージャを開始する
3) タスクマネージャ一時停止
4) タスクマネージャ再開
5) タスクマネージャ履歴
6) メール設定定義
7) 終了


 次に6) メール設定定義を選びます。
 

オプション?6
 
1) メールサーバ定義
2) サーバポート定義
3) 返信先定義
4) 送信者定義
5) タイムゾーン
6) 認証ユーザ定義
7) SSL 構成を定義
8) 終了


そこで以下2点を最低限設定します。
 

1) メールサーバ定義 (SMTPサーバ名)  例: xxxxxx.xxxxx.com

4) 送信者定義 (通知メールのFROMアドレス) 例: m123456@gmail.com

 

この設定後、タスクを作成、編集すると、添付画像のようにメール送信先を登録する項目が追加されますので、メールを送信した宛先メールアドレスを設定してください。

 

Discussion (0)1
Log in or sign up to continue
Question
· Jul 20, 2022

how to convert a docx file into pdf using Ensemble without using External libraries

we are currently using Libre office to generate a PDF from docx file. but we want generate a PDF file without using the External libraries.

Is there any tool is available with in the Ensemble to covert a file from docx to PDF.

appreciate your help.... 

2 Comments
Discussion (2)2
Log in or sign up to continue
Please note that this post is obsolete.
Announcement
· Jul 19, 2022

Exercício Recém Lançado: Healthcare Action Engine

Olá a todos

Lançamos recentemente uma versão atualizada do Configurando Alertas para Médicos com o Healthcare Action Engine.

Este exercício para clientes de HealthShare permite que você tenha uma gosto das funcionalidades chave do Healthcare Action Engine, que foi recentemente anunciado no Global Summit. Você irá construir um suporte a decisão que resultará em ações clínicas neste exercício.

Sinta-se a vontade para checar se você é um cliente HealthShare!

Discussion (0)1
Log in or sign up to continue
Question
· Jul 18, 2022

XML Projection when edit and resend- why not available to edit XML- custom classes

I'm not sure why on some message you cannot edit/resend and change the inforatmation in the message 

i.e. 

Property property1As Messages.MesaageType1;

Property property2 As Messages.MesaageType2;

Property property3 As list Of Messages.MesaageType3;

All extend  Extends (Ens.Request, %XML.Adaptor)

is there anything we are missing? 

1 Comment
Discussion (1)1
Log in or sign up to continue