All time
InterSystems Developer Community is a community of 25,790 amazing developers
We're a place where InterSystems IRIS programmers learn and share, stay up-to-date, grow together and have fun!

"SELECT %SYSTEM.SQL_TableExists('table name') "could work as expected under SQL shell,

but for "CALL %SYSTEM.SQL_TableExists('table name')" does not work (not any error reported, it just show nothing).

Is there any reason why CALL could not be applied to a stored procedure?

Thanks.

0 7
0 569

InterSystems is pleased to announce the availability of the following maintenance releases:

  • Caché and Ensemble 2016.2.2
  • HealthShare Health Connect v15.021 on two core technology releases, 2016.2.2 and 2017.1.0

Caché and Ensemble 2016.2.2 are available on the same platforms as 2016.2.1

1 0
0 576

I have just started to experiment with Using IRIS in Docker.

My first objective was to be able to enable global persistence within a Docker container. Using the following command I have managed to achieve this:

docker run --detach --publish 52773:52773 --volume /data/dur:/dur --env ISC_DATA_DIRECTORY=/dur/iconfig --name iris21 store/intersystems/iris-community:2020.1.0.199.0

Within this container, I have created a simple global:

for i=1:1:10 set ^tmp(i)=""

0 7
0 435

¡Hi everybody!

As you likely are aware, the new version of InterSystems IRIS for Health (I4H) it's already available in Docker Hub. It's the Community version and is free and fully functional. There have been comments about it in other articles and posts,... so today I won't add anything about features. Here I want to explore "the mistery about the disappearance, or better, absence of our persistent data when we run a container with the durable option" (I didn't find a terrifying font to emphasize the thriller... post editor is not terrific for styling smiley ) .

2 0
2 575

Hey Developers!

Do you want to reap the benefits of the advances in the fields of artificial intelligence and machine learning? With InterSystems IRIS and the Machine Learning (ML) Toolkit it’s easier than ever.

Join InterSystems Sales Engineers, @Sergey Lukyanchikov and @Eduard Lebedyuk, for the Machine Learning Toolkit for InterSystems IRIS webinar on Tuesday, April 23rd at 11 a.m. EDT to find out how InterSystems IRIS can be used as both a standalone development platform and an orchestration tool for predictive modelling that helps stitch together Python and other external tools.

3 1
0 555

Hi all,

Do you know if there is a way to create a Lock that is related to an existing transaction, in the sense that if transaction is finished (commit or rollback) Lock is removed. I ask this because in the following example Lock is there until process is killed.

Example :

TSTART

Lock +^MyLock

TROLLBACK

I know, that, Caché itself is locking internally a table register when doing an OpenId with exclusive flag during the transaction life. For example :

TSTART

0 4
0 571
Question
· May 2, 2024
Compact & Truncate

Hi Guys,

I never ran a Compact & truncate process before and we do have a 4.6TB database with 1.9TB free space available that I would like to recover

0 8
0 566
Article
· Mar 29, 2023 1m read
Named Parameter In SQL with Python

Quick Tips: Total Productive Maintenance

Named parameters can be achieved with SQLAlchemy :

from sqlalchemy import create_engine, text,types,engine

_engine = create_engine('iris+emb:///')

with _engine.connect() as conn:
    rs = conn.execute(text("select :some_private_name"), {"some_private_name": 1})
    print(rs.all())

or with native api

from sqlalchemy import create_engine, text,types,engine

# set URL for SQLAlchemy
url = engine.url.URL.create('iris', username='SuperUser', password='SYS', host='localhost', port=33782, database='FHIRSERVER')

_engine = create_engine(url)

with _engine.connect() as conn:
    rs = conn.execute(text("select :some_private_name"), {"some_private_name": 1})
    print(rs.all())

6 0
0 574

Hi Developers,

We're super excited to share with you the new awesome functionality of the Online Analytics Dashboard for every Community member 🔥

From now on, you can see your own detailed statistics for the current week, month, and all time, including:

  • number of views, likes, comments, followers
  • timeline graphics of views, likes, actions with your posts, comments
  • a table containing info about views, comments, and likes for your every post

      11 1
      0 554
      Question
      · Aug 15, 2022
      Security Scans

      We are looking for a 3rd party application that can scan our IRIS based Cache Object Script code for vulnerabilities or coding weaknesses. There are many, many applications/vendors out there that do code scanning but none seem to support Cache Object Script or scanning the IRIS environment. If anyone is aware of a company/product that can scan our code / IRIS environment, I would love to hear about it.

      Thanks in advance for the help.

      Mike

      0 3
      0 571

      Does anyone have experience with CircleCI or really any automation tool using %UnitTest?

      I have built my app and ran my unit test in a Docker container automated by CircleCI. However, after many of the tests failed I see:

      How do you halt out of the IRIS session and return an exit code to the shell?

      I have a script in my repo that I pass into IRIS after CircleCI does the code checkout

      iris session IRIS < inFile

      0 8
      0 566
      Article
      · Jan 16, 2021 3m read
      Creating and listing XData definitions

      Hi InterSystems Community!

      The ObjectScript language of InterSystems IRIS has the ability to extend classes using a very interesting feature called XData.

      It is a section in your class that can be used to create custom definitions to be used within the class itself and also externally.

      To create one or more XData definitions for your class is very easy, see the example:

      2 2
      0 534

      Hi:

      I have an sql outbound adapter. Sometimes we have trouble connecting to the database.

      The timeout in develpment is set to 15 seconds in live it is 150 seconds as it is an always connected Buisness operation.

      I thought adding E=S or/and X=S would suspend the message. Why does it not?

      Is the only way around then adding something to the buisness operation itself/ creating a customised SQL buisness operation rather than EnsLib.SQL.OutboundAdapter?

      Thanks

      Mark

      0 5
      0 569

      Is anyone using Atelier with 3 environments (instances with multiple namespaces) (DEV, TEST, PROD) using GitHub as the source control.

      I would be interested in how its all setup. So for example;

      Would you have three branches for the code or 3 repo's.

      Would you have three projects in Atelier to communicate with the environments and GitHub?

      I have 3 existing environments that I wish to put under source control and also provide the ability to promote code between the environments in a controlled manner.

      0 4
      0 570

      Hi, Community!

      We have a new release here!

      What has been introduced:

      1. Better notifications

      With this release I hope you will turn on back the email notifications because every new notification today in the beginning of itself will tell first, why did you get it describing the exact reason you got this particular notification. And if you don't want this type of notification to be delivered anymore click unsubscribe link in the notification and it will lead to the settings of this very type to alter.

      1 6
      0 454

      Hi

      I have been experimenting with the creation of a set of REST services for an app. The basic GET operation is set to create a %ZEN.proxyObject instance, and then set an instance of a Persistant class as a property, which gives me all of the values I want to return. However, it also gives me some values that I don't want to return over REST (because they are both private, and large registered objects which will bog down performance)

      2 3
      0 571

      I have an IRIS installation that is using 8-bit charset encoding (set to deu8 / Latin 1). I would like to convert everything (database and system) to Unicode

      Charset encoding is something asked during installation, is it possible to change this on the fly ? The installer clearly say that Unicode systems cannot be converted. What about 8 bit ?

      Same for database : is there possible conversion ?

      My current plan is the following :

      0 5
      0 568

      Hello Community,

      SQL language remains the most practical way to retrieve information stored in a database.

      The JSON format is very often used in data exchange.

      It is therefore common to seek to obtain data in JSON format from SQL queries.

      Below you will find simple examples that can help you meet this need using ObjectScript and Python code.

      8 1
      4 553

      I need to create a routing rule where I've got to check for the value of "-" in field 5 of a repeating RQD segment, if the "-" is found in any of the RQD-5 I want to send it to a transform, if the rule doesn't find a "-" in any of the RQD-5 I want to send it to another transform.

      Unfortunately we are running an older version of Ensemble and the foreach function is not available.

      The other thing to add is the transforms are writing the output to a flat file so my business process is using the EnsLib.MsgRouter.RoutingEngine class.

      Sample message:

      0 4
      1 569

      Hi,

      I have installed Visual Studio on my PC and connecting to IRIS on my Linux server.

      I have installed the InterSystems extensions.

      I click on the InterSystems icon on left->Click on "Choose Server and Namespace" -> Pick my server myTrak.

      However I get this error:
      request to https://mytrak:52773/api/atelier/ failed,
      reason: write EPROTO 18648712:error:100000f7:SSL routines:OPENSSL_internal: WRONG_VERSION_NUMBER:../../third_party/boringssl/src/ssl/tls_record.cc:242:

      0 2
      0 571