Encontrar

Digest
· Aug 4

Publications des développeurs d'InterSystems, semaine Juillet 28 - Août 03, 2025, Résumé

Articles
Annonces
#Communauté des développeurs officielle
Juillet 28 - Août 03, 2025Week at a GlanceInterSystems Developer Community
Digest
· Aug 4

Nuevas publicaciones en la Comunidad de InterSystems, 28 julio - 3 agosto

28 julio - 3 agostoWeek at a GlanceInterSystems Developer Community
Announcement
· Aug 4

Winners of the InterSystems Developer Tools Contest 2025

Hi Community,

It's time to announce the winners of the InterSystems Developer Tools Contest

Thanks to all our amazing participants who submitted 17 applications 🔥🔥

Now it's time to announce the winners!

Experts Nomination

🥇 1st place and $5,000 go to the InterSystems Testing Manager for VS Code app by @John Murray

🥈 2nd place and $2,500 go to the typeorm-iris app by @Dmitry Maslennikov

🥉 3rd place and $1,000 go to the IPM Explorer for VSCode app by @John McBride

🏅 4th place and $500 go to the dc-artisan app by @José Pereira, @Henry Pereira@Henrique Dias

🏅 5th place and $300 go to the iris4word app by @Yuri Marx   

🌟 $100 go to the Interoperability REST API Template app by @Andrew Sklyarov

🌟 $100 go to the toolqa app by @André Dienes Friedrich, @Andre Larsen Barbosa 

🌟 $100 go to the iris-message-search app by @sara aplin

🌟 $100 go to the wsgi-to-zpm app by @Eric Fortenberry

🌟 $100 go to the templated_email app by @Nikolay Solovyev, @Sam Sennin

Community Nomination

🥇 1st place and $1,000 go to the InterSystems Testing Manager for VS Code app by @John Murray

🥈 2nd place and $600 go to the iris-message-search app by @sara aplin

🥉 3rd and 4th place and $250 each go to the dc-artisan app by @José Pereira, @Henry Pereira@Henrique Dias and addsearchtable app by @XINING MA

🏅 5th place and $100 go to the toolqa app by @André Dienes Friedrich, @Andre Larsen Barbosa 

Our sincerest congratulations to all the winners!

Join the fun next time ;)

12 Comments
Discussion (12)4
Log in or sign up to continue
Article
· Aug 4 2m read

IRIS for MACにODBCでアクセスする方法その3

前回、macOS上でLibreOfficeからODBC経由でアクセスするためのセットアップについて記事を書きました。

今回 .Net経由でODBCにアクセスする方法を試したので報告します。

LibreOfficeの場合、iODBCでしたが、.Netの場合は、unixODBCを使用します。

従来のバージョンでは、IRISのunixODBCドライバーはUnicode対応(ワイド)でなかったため、.NetのODBCでは日本語を正しく処理できませんでしたが、2025.2よりワイドドライバーが追加されたため正しく処理できるようになりました。

今回.Net経由のアクセスを試した理由は、ODBC版Cache DirectエミュレータをMacで動かせないかと考えたからです。

ODBC版Cache Directエミュレータ

こちらのリポジトリにも設定方法の詳細を記載していますが、Mac上でunixODBCドライバーを設定する方法を紹介します。

  • IRISバージョン

unixODBCのUnicode(ワイド)版のドライバーが必要なため、IRIS 2025.2以降のバージョンが必要です。

  • unixODBCのインストール

Homebrewを使用してインストールします。

brew install unixodbc

 

  • 必要なunixodbc関連ライブラリをコピーする
cp /opt/homebrew/lib/libodbc*.dylib /usr/local/lib
cp /opt/iris/bin/libodbc*.dylib /usr/local/lib
cp /opt/iris/bin/irisconnect.so /usr/local/lib

ls /usr/local/lib
irisconnect.so        libodbc.dylib        libodbccr.dylib        libodbcinst.dylib
libodbc.2.dylib        libodbccr.2.dylib    libodbcinst.2.dylib

 

  • odbc.iniとodbcinst.ini

/opt/homebrew/etcの下にodbc.iniとodbcinst.iniを置く

 

  • odbcinst.iniの設定内容

[InterSystems ODBC]
UsageCount=1
Driver=/opt/iris/bin/libirisodbc35.so
Setup=/opt/iris/bin/libirisodbc35.so
SQLLevel=1
FileUsage=0
DriverODBCVer=02.10
ConnectFunctions=YYN
APILevel=1
DEBUG=1
CPTimeout=<not pooled>

 

  • odbc.iniの設定内容

[iris user]
Driver=InterSystems ODBC
Protocol=TCP
Host=localhost
Port=1972
Database=USER
UID=_system
Password=sys
Description=User namespace
Query Timeout=0
Static Cursors=0
Trace=off

 

  • PATHの設定 例  
export PATH="/opt/homebrew/lib:/opt/homebrew/bin:/opt/iris/bin:/opt/iris/lib/python:/opt/iris/mgr/python:$PATH"
Discussion (0)1
Log in or sign up to continue