Nova postagem

Pesquisar

Artigo
· Jun. 6, 2024 1min de leitura

How to perform specific actions when starting an InterSystems product

InterSystems FAQ rubric

If you want to run an OS executable file, command, or a program created within an InterSystems product when the InterSystems product starts, write the processing in the SYSTEM^%ZSTART routine. (The %ZSTART routine is created in the %SYS namespace).

Before you write any code in SYSTEM^%ZSTART, make sure that it works properly under all conditions.

If the ^%ZSTART routine is written incorrectly, or if it is written correctly but the command does not return a response or an error occurs during processing, InterSystems products may not be able to start.

For more information, please refer to the following document.

About writing %ZSTART and %ZSTOP routines [IRIS]
About writing %ZSTART and %ZSTOP routines

1 Comment
Discussão (1)1
Entre ou crie uma conta para continuar
Pergunta
· Jun. 6, 2024

Terminal in error state after runny buggy code is apparently unusable afterwards

Hi

I have a question about terminal, when I run a class from it that contains an error I get a report of error as I would expect, and then an apparently random three letter code is appended to the namespace name in the prompt, as shown below.

GMMHTIE>do ##class(temp.Nothing).What()
 
 w !, tParisAnswer
      ^
<UNDEFINED>zWhat+23^temp.Nothing.1 *tParisAnswer
GMMHTIE 2d1>

Then, when I try to enter a command I get an error

GMMHTIE 2d1>do ##class(temp.Nothing).What()
 
DO ##class(temp.Nothing).What()
^
<COMMAND>^temp.Nothing.1
GMMHTIE 2d1>

Whilst the terminal is in this state, it is apparently unusable, and I have to close it and start a new session.

How can exit this state?

4 Comments
Discussão (4)1
Entre ou crie uma conta para continuar
Anúncio
· Jun. 6, 2024

Seeking Exam Design Feedback for InterSystems ObjectScript Specialist Certification Exam

Hello Everyone,

The Certification Team of InterSystems Learning Services is developing an InterSystems ObjectScript Specialist certification exam, and we are reaching out to our community for feedback that will help us evaluate and establish the contents of this exam.  Please note that this is one of two exams being developed to replace our InterSystems IRIS Core Solutions Developer exam. You can find more details about our InterSystems IRIS Developer Professional exam here.

How do I provide my input? Complete our Job Task Analysis (JTA) survey! We will present you with a list of job tasks, and you will rate them on their importance as well as other factors.

How much effort is involved? It takes about 20-30 minutes to fill out the survey. You can be anonymous or identify yourself and ask us to get back to you.

How can I access the survey? You can access it here

  • Survey does not work well on mobile devices - you can access it, but it will involve a lot of scrolling
  • Survey can be resumable if you return to it on the same device in the same browser - answers save with the Save/Next button
  • Survey will close on July 15, 2024

What’s in it for me? You get to weigh-in on the exam topics for our new exam, and as a token of our appreciation, all participants will be entered into a raffle for a $50 Tango gift card, Global Masters points, and potentially other swag. Note: Tango gift cards are only available for US-based participants. InterSystems and VA employees are not eligible.

Here are the exam title and the definition of the target role:

InterSystems ObjectScript Specialist

An IT professional who is familiar with object-oriented programming concepts and:

  • creates InterSystems IRIS classes,
  • writes and reviews InterSystems ObjectScript and SQL code, and
  • uses both objects and SQL for data access.

At least six months to one year of experience with the tasks listed above is recommended. 

Discussão (0)1
Entre ou crie uma conta para continuar
Anúncio
· Jun. 6, 2024

Le 3ème Concours d'Idées InterSystems

Bonjour la communauté,

Nous sommes très heureux d'inviter tous les membres de notre communauté de développeurs (employés d'InterSystems et pas) à participer à notre prochain concours !

💡 Le 3ème Concours d'Idées InterSystems 💡

Nous recherchons vos idées innovantes pour améliorer InterSystems IRIS et les produits et services associés. Nous encourageons les suggestions basées sur des cas d'utilisation réels, mettant en évidence les avantages tangibles que votre idée apportera aux autres utilisateurs et comment elle améliorera l'expérience des développeurs avec la technologie InterSystems.

📅 Durée : 10 juin - 7 juillet 2024

🏆 Des prix pour les meilleures idées !

🎁 Des cadeaux pour tous : Un cadeau spécial sera offert à chaque auteur dont l'idée sera acceptée au concours.

 

>> SOUMETTEZ VOTRE IDÉE ICI À PARTIR DU 10 JUIN <<

Les idées acceptées doivent :

  • être créé pendant la période du concours d'idées par un utilisateur inscrit sur le portail InterSystems Ideas (vous pouvez vous connecter via InterSystems SSO );
  • ne pas faire partie d'autres idées déjà existantes - seules les nouvelles idées sont autorisées ;
  • ne pas décrire les fonctionnalités existantes d'InterSystems IRIS et des produits ou services associés ;
  • être publié en anglais ;
  • être écrit par une personne, non généré par l'IA ;
  • être spécifique plutôt que général, avec une explication de la manière dont ce changement précis profitera aux utilisateurs et est lié à un cas d'utilisation réel ;
  • être accepté comme significatif par les experts d’InterSystems.

Toutes les idées sont soumises à modération. Nous pouvons demander des éclaircissements sur l'idée soumise.Les idées qui répondent aux exigences recevront un statut spécial "Ideas Contest". 

Qui peut participer ?

Nous invitons TOUS à rejoindre notre nouveau concours d'idées.Les employés et non-employés d'InterSystems sont invités à participer et à soumettre leurs idées.  

Prix

1. Cadeau de participation - les auteurs de toutes les idées acceptées recevront :

🎁 T-shirt de marque avec logo InterSystems (unisexe)

2. Prix des experts - les 3 meilleures idées seront sélectionnées par les experts d'InterSystems.Les gagnants recevront :

🥇 1ère place - Écouteurs sans fil à réduction de bruit JBL Tour Pro

🥈 2ème place - Gilet Nano Puff® unisexe Patagonia

🥉 3ème place -  LEGO Vespa 125 / Corvette / NASA Mars Rover Perseverance / Moto Kawasaki Ninja H2R

3. Prix de la communauté - une idée obtenant le plus de votes recevra :

🎁 LEGO Vespa 125 / Corvette / NASA Mars Rover Perseverance / Moto Kawasaki Ninja H2R

Remarque : les employés d'InterSystems ne peuvent obtenir que le prix de participation. Les récompenses d'expert et de communauté ne peuvent être remportées que par des membres non-InterSystems de la communauté.

Dates du concours

⚠️ Soumission des idées : du 10 au 30 juin

✅ Voter pour des idées : du 1 au 7 juillet

🎉 Annonce des gagnants : 8 juillet

Nous vous encourageons à partager vos idées sur le portail Idées pendant cette période. Les membres inscrits peuvent participer en votant et en fournissant des commentaires sur les idées publiées.

Remarque : seuls les votes des utilisateurs actifs de la communauté qui ont publié au moins une publication sur la communauté des développeurs sont pris en compte pour le prix de la communauté.

--

Publiez votre ou vos idées sur le portail InterSystems Ideas et restez à l'écoute des mises à jour du statut de votre idée :

>> SOUMETTRE VOTRE IDÉE ICI <<
Bonne chance! 🍀


Remarque : Tous les prix sont soumis à la disponibilité et aux options d'expédition. Certains articles peuvent ne pas être disponibles pour une expédition internationale vers des pays spécifiques. Dans ce cas, une alternative équivalente sera proposée. Nous vous informerons si un prix n'est pas disponible et vous proposerons un éventuel remplacement.Les prix ne peuvent pas être remis aux résidents de Crimée, de Russie, de Biélorussie, d'Iran, de Corée du Nord, de Syrie ou d'autres pays sous embargo américain.

Discussão (0)1
Entre ou crie uma conta para continuar
Artigo
· Jun. 6, 2024 4min de leitura

Connecting to Cloud SQL from Microsoft Power BI using ODBC and TLS/SSL

We're excited to continue to roll out new features to InterSystems IRIS Cloud SQL, such as the new Vector Search capability that was first released with InterSystems IRIS 2024.1. Cloud SQL is a cloud service that offers exactly that: SQL access in the cloud. That means you'll be using industry-standard driver technologies such as JDBC, ODBC, and DB-API to connect to this service and access your data. The documentation describes in proper detail how to configure the important driver-level settings, but doesn't cover specific third-party tools as - as you can imagine - there's an infinite number of them.

In this article, we'll complement that reference documentation with more detailed steps for a popular third-party data visualization tool that several of our customers use to access IRIS-based data: Microsoft Power BI.

Step 0: Creating your deployment

First, log into the Cloud Services Portal and create a Cloud SQL deployment. The one thing you need to be mindful of is to check the box to enable external connections. Other than that, all the default settings should work fine.

Step 1: Downloading the certificate

In order to connect securely, we'll use certificates to encrypt everything that gets sent over the wire. You can download the certificate from the deployment details page through the "Get X.509 certificate" button:

We need to refer to this certificate later on, so you'll want to save it in a proper directory. For example, I'm using C:\Users\bdeboe\odbc\.

Step 2: Creating the SSLDefs.ini file

To know which certificate and encryption settings to use, the InterSystems ODBC driver looks for an SSLDefs.ini file, which we'll create next. By default, it will look for this file in C:\Program Files (x86)\Common Files\InterSystems\IRIS, but you can override this location using the ISC_SSLconfigurations environment variable. To keep all my configuration settings together, I set that variable to C:\Users\bdeboe\odbc\, the directory where I also saved my certificate.

The SSLDefs.ini file needs to contain two things in order for ODBC to know how to connect: a server configuration, and an SSL configuration. The server configuration just declares the name of the SSL configuration to use for a particular hostname and port combination, and the SSL configuration has all the details for establishing the encrypted connection. This makes it straightforward to reuse a single SSL configuration for multiple servers. Here's the contents of my SSLDefs.ini file:

[My CloudSQL Server] 
Address=k8s-da0bcd5e-a1b3a0c7-545df92ec8-2e44304cebef1543.elb.us-east-1.amazonaws.com
Port=443
SSLConfig=SampleSSLConfig

[SampleSSLConfig]
CAFile=
CertFile=C:\Users\bdeboe\odbc\certificateSQLaaS.pem
KeyFile=
Password=
KeyType=2 
Protocols=28 
CipherList=ALL:!aNULL:!eNULL:!EXP:!SSLv2 
VerifyPeer=0 
VerifyDepth=9

The first section has the server configuration, which you can give a name of your liking. You'll need to change the Address to match your Cloud SQL deployment's hostname, which can be gleaned from the deployment details page where you downloaded the certificate.

The second section has the SSL configuration, which' name needs to correspond to what you specified for SSLConfig in the server configuration section. The CertFile flag obviously needs to match where you saved your certificate.

For more details about the other settings, please refer to the full TLS settings documentation.

Step 3: Creating the ODBC DSN

Power BI, like most ODBC-based tools, works with DSNs (Data Source Name), which you register using a Windows utility. Just click the Windows Start icon and start typing "ODBC", then click "ODBC Data Sources (64 bit)". Choose the "System DSN" tab to register a connection to our Cloud SQL deployment. If you have local installations of InterSystems IRIS (of which I have about a dozen at any given time 😉), you'll see the installer created default DSN entries for those:

Click "Add..." to create a new DSN, picking a name and filling in the host, port, and namespace. I usually save my username and password to the DSN for any non-production instances (and we'll need it to test the connection shortly), but you can leave these blank and supply those credentials later. The SSL/TLS Server Name field is somewhat redundant (we'll work on that!).

 Next, hit "Test Connection" to see if everything is working as expected. You should get a "Connectivity test completed successfully!" message. If not, please verify the steps above, or refer to the Troubleshooting guide. One particular error message that may get you puzzled (it got me at least!) is "No SSL config found in the registry or in ssldefs.ini." This error means the ODBC driver did not find a match for your hostname/port combination in the SSLDefs.ini file. As your hostname changes each time you create a new deployment, you'll need to update or add the server configurations for each one.

Step 4: Connecting from Power BI

Now it's time to use our ODBC DSN to pull some data into Power BI. After opening the app, select "Get Data" or "Get data from other sources", and pick the ODBC option:

Then pick the DSN you just created from the list:

In the next screen, you can supply your username and password. No additional credential properties are required.

 That's it! Now you can select the tables you'd like to include in your Power BI reports:

As you probably noted, all but the last step in this article is universal to ODBC configuration, so this should get you going for most ODBC-based tools. Hope this article got you going, and feel free to add your own tips and tricks, or share experiences about connecting to Cloud SQL. Also note that there's hardly anything in here, other than step 0, that is specific to Cloud SQL, so you can use the same steps to connect to any IRIS instances that requires encrypted connections.

17 Comments
Discussão (17)4
Entre ou crie uma conta para continuar