Find

Article
· May 30, 2024 1m read

How to avoid ODBC query timeouts

InterSystems FAQ rubric

To disable the timeout, set the query timeout to disabled in the DSN settings:

Windows Control Panel > Administrative Tools > Data Sources (ODBC) > System DSN configuration

If you check Disable query timeout, the timeout will be disabled.

If you want to change it on the application side, you can set it at the ODBC API level.

Set the SQL_ATTR_QUERY_TIMEOUT attribute when calling the ODBC SQLSetStmtAttr function before connecting to the data source.

Discussion (0)1
Log in or sign up to continue
Question
· May 30, 2024

Javascript library "Irisnative" does not work for 8 bits IRIS servers

Hi, 

I almost managed to connect myself from nodejs to IRIS via intersystems-iris-native, but the connection failed. 

 

> const irisnative = require('./intersystems-iris-native')
> irisnative
{
  createConnection: [Function (anonymous)],
  Connection: [Function: Connection],
  Iris: [Function: Iris],
  Iterator: [Function: Iterator],
  IRISList: [Function: IRISList]
}
.....
>     var connection = irisnative.createConnection({
...     host: ip,
...     port: port,
...     ns: namespace,
...     user: username,
...     pwd: password
...     })
Uncaught Error: 8-bit servers are not supported [ERROR_8BIT_SERVER]
>

 

It finished with ERROR_8BIT_SERVER.   I would like to ask you whether it is possible to connect to IRIS from javascript, in order to execute Mumps commands from nodejs.

Kind regards,

 

Alin C Soare.

1 Comment
Discussion (1)2
Log in or sign up to continue
Question
· May 30, 2024

python library "irisnative" for Windows 10

Hi,

I am using Windows 10 and I cannot find an installation source for the irisnative python library.  I tried to install the wheel file provided by intersystems on github (https://github.com/intersystems/quickstarts-python/).

 

c:\wc\quickstarts-python\Solutions\nativeAPI_wheel>pip install irisnative-1.0.0-cp34.cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl
ERROR: irisnative-1.0.0-cp34.cp35.cp36.cp37.cp38.cp39-none-win_amd64.whl is not a supported wheel on this platform.

 

Is irisnative supported on Windows 10 ?  The purpose is to execute ObjectScript command from external python code.

Kind regards,

 

Alin C Soare.

Discussion (0)1
Log in or sign up to continue
Announcement
· May 30, 2024

Réservez une formation individuelle au Global Summit !

À l'approche du Global Summit 2024, n'oubliez pas de réserver une séance de formation personnelle !

Spotlight on Personal Training, Global Summit. Sign up for a session with Joe Gallant or Deirdre Viau, Technical Trainers.

Cette semaine, les projecteurs sont tournés vers deux Formateurs Techniques.

💬 Rencontrez @Joe Gallant pour discuter de l'interopérabilité, d'InterSystems ObjectScript, de l'administration système et de l'analyse/BI.
💬 Parlez à @Deirdre Viau de HealthShare® Patient Index, HealthShare Unified Care Record® ou Analytics/BI.

Profitez de leur expertise en vous inscrivant à une séance de 45 m. Rafraîchissez votre mémoire sur une formation en classe précédente, discutez d'un concept technique ou commencez à découvrir les technologies InterSystems.

Envoyez un e-mail à GSTechExchange@intersystems.com à l'avance ou visitez le bureau de conciergerie Tech Exchange au Sommet.

 

Discussion (0)1
Log in or sign up to continue
Announcement
· May 30, 2024

第15回インターシステムズ主催 開発者向けオンラインセミナー「FHIR 新機能のご紹介~2024.1~」

 

連続3回のシリーズでお届けする新機能についてのウェビナー

テーマ「FHIR新機能のご紹介~2024.1」

日時:6月25日(火)13:30~14:00 (参加費無料・事前登録制)

ご登録はこちらから

【セッション概要】

IRIS2024 .1では、いくつかのFHIR関連の新機能の追加および機能強化が行われました。本ウェビナーではFHIRオブジェクトモデルの機能概要を中心に、2023.1以降のバージョン追加および強化されたIRIS for HealthのFHIR機能についてお話しいたします。

【こんな方にお勧め】
・現在、FHIR関連開発をされている方。
・アプリケーションのFHIR対応を検討されている方。

皆様のご参加をお待ち申し上げております!

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