Find

Article
· Jun 29, 2020 3m read

Terminal Multi-Line Option


The Command extension enables the execution of Multi-Line Commands from Terminal prompt.

Installation & Execution

Import %ZML.xml to Namespace %SYS

Optionally you may add this line to your %ZLANGC00.mac for a simplified use:

ZML do ^%zml quit  ; add multi line command in terminal

and
USER>zml

otherwise, just call it from the terminal command prompt

  USER>do ^%zml

Usage

at the prompt USER:zml:1>
- enter commands as usual
- trigger execution by an empty line
- stop multi-line option with a single '.' (dot) at first position

Example

USER>zml
Entering multi line mode. Run with empty line. Stop with single "."
USER:zml:1> for i=1:1:20 {
USER:zml:2> write i
USER:zml:3> write ": "
USER:zml:4> if $x>70 write !
USER:zml:5> }
USER:zml:6> 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17:
18: 19: 20:
USER:zml:1> .
USER>

with error trapping

USER>d ^%zml
Entering multi line mode. Run with empty line. Stop with single "."
USER:zml:1> for x=5:-1 {
USER:zml:2>     write ":",x
USER:zml:3>     write ?15,1/x,!  }
USER:zml:4>
:5             .2
:4             .25
:3             .3333333333333333333
:2             .5
:1             1
:0             ^
<DIVIDE>+3

routine calls

USER:zml:1> for i=1,2 {
USER:zml:2>    d ^%SS
USER:zml:3>    write !!,"###########"
USER:zml:4>    hang 2
USER:zml:5> }
USER:zml:6>
<..... last screen onöy .....>
             InterSystems IRIS System Status:  1:57 pm 29 Jun 2020
 Process  Device      Namespace      Routine         CPU,Glob  Pr User/Location
   14744                             CONTROL           0,0     8
   14816                             WRTDMN          359,1155  9
   10380                             GARCOL            0,0     8
   14292                             JRNDMN         4600,0     8
   13876                             EXPDMN            0,0     8
    4908  //./nul     %SYS           %SYS.TaskSuper
                                                  116965,8493  8  TASKMGR
   10072  //./nul     %SYS           MONITOR       19301,63    8
   12872  //./nul     %SYS           CLNDMN          692,65    8
    8308  //./nul     %SYS           RECEIVE       15801,839   8
    5512  //./nul     %SYS           ECPWork           0,0     8  ECPWORK
    2692  |TCP|51773  %SYS           %SYS.SERVER       0,0     8
   14884  //./nul     %SYS           LMFMON        21985,629   8
    2808  |TCP|CEMPER9:51773
                      USER           %SYS.BINDSRV2146884,2282268  _SYSTEM
    2516  //./nul     %SYS           SYS.VSSWriter     0,0     8  VSS Writer
   14416  //./nul     %SYS           %SYS.Monitor.Control
                                                 2047945,76423 8
   14940  |TCP|localhost:51773
                      %SYS           %SYS.cspServer3
                                                  138785,16984 8  UnknownUser
 
Press Q or q to quit, any other character to continue. q
 
 
###########
USER:zml:1>

GitHub

Discussion (0)0
Log in or sign up to continue
Article
· Jun 28, 2020 2m read

【はじめての InterSystems IRIS】セルフラーニングビデオ:基本その1:InterSystems IRIS Community Edition をインストールしてみよう!

基本操作編ビデオシリーズ:その1

Windows、Linux、クラウドのマーケットプレイスでの InterSystems IRIS Community Edition インストール方法を解説しています。

コミュニティエディションのインストールキット入手方法については、「InterSystems IRIS/InterSystems IRIS for Health コミュニティエディションのダウンロード方法」をご参照ください。

2025/4/8 追記:バージョン2025.1以降 コンテナ以外のインストールキットを使用したインストールでは、初期セキュリティ設定のオプションデフォルトが「ロックダウン(Locked down)」に変更されました。詳しくは👉「バージョン2025.1インストール時に指定する初期セキュリティオプションのデフォルトが「ロックダウン」に変わりました」をご参照ください。

コンテナ版IRISの利用方法については、「InterSystemsコンテナレジストリの使い方とコンテナ開始までの流れ(解説ビデオ付き)」をご参照ください。

もくじ

0:00 ~ IRIS community Edition インストール方法概要

1:36 ~ WindowsでのIRISインストール

11:24 ~ LinuxでのIRISインストール

20:50 ~ マーケットプレイス(Azure)

29:45 ~  Docker Hub (Docker for Windows)

※2023/7/14追記:コンテナ版IRISは「InterSystemsコンテナレジストリ」に公開するように変更となりました。使い方について詳しくは以下記事をご参照ください。
InterSystemsコンテナレジストリの使い方とコンテナ開始までの流れ(解説ビデオ付き)

36:18 ~ TRY-IRIS(インターシステムズプライベートクラウド)

※2023/2/20追記:TRY-IRISページが大幅にリニューアルされ、ユーザ登録が不要となりました。
使い方について詳細は、「Developer Hub:チュートリアルのご紹介」をご参照ください。

※YouTubeでご覧いただくと、もくじの秒数にジャンプできます。

2 Comments
Discussion (2)1
Log in or sign up to continue
Article
· Jun 26, 2020 1m read

Use Third Party Charting Libraries Today In Your Analytics Dashboard!

Now available on Open Exchange is a library of third party charts available to use within DeepSee/InterSystems IRIS BI dashboards. To start, simply download and install, select the new portlet as the widget type, then select the chart type that you desire. If you don't find the type of chart you are looking for, you can easily extend the portlet to implement your desired chart type. These new chart types can be used within existing dashboards or you can create new dashboards using them.

After installing, the portlet can be selected and configured as follows:
1) Add a new widget to your dashboard

2) Select Portlets, then Highcharts, then assign your data source

3) The widget will default to a line chart

4) Navigate to the Widget Settings to change the Chart Type if desired

5) Select the desired chart type (I will choose "Bar" for this example)

6) Data is now rendered using the new chart type

Discussion (0)1
Log in or sign up to continue
Discussion (1)1
Log in or sign up to continue
Announcement
· Jun 11, 2020

Visualising your Global Storage using QEWD Monitor

The latest WebComponent-based, SB Admin 2-themed QEWD Monitor application now includes a cool D3-based viewer for visualising your IRIS or Cache Globals - see example below

This qewd-monitor-adminui application is automatically installed when you install QEWD on a Windows machine

See here for details on installing QEWD on Windows:

https://github.com/robtweed/qewd-microservices-examples/blob/master/WINDOWS-IRIS-2.md#initial-steps
 

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