New post

Find

Article
· Jan 15 3m read

第七十四章 使用 ^%IS

第七十四章 使用 ^%IS

^%IS 是一个通用的设备选择实用程序,用于基于字符的应用程序。可以使用内置的 ^%IS 实用程序来允许用户选择要将 I/O 操作定向到的设备。每当要选择设备时,应用程序都应该调用 ^%IS 实用程序。此实用程序允许用户指定要使用的设备和相应的 OPEN 命令参数,打开所选设备,然后将特定于设备的信息返回给调用程序。用户输入已在 ^%IS 全局中定义的助记词。^%IS 依赖于 Management Portal 中建立的 IO 配置默认值。

Discussion (0)1
Log in or sign up to continue
Question
· Jan 15

Application Error Question - Error Message... <SUBSCRIPT>buildRuntimePathFromIndex+135^EnsLib.EDI.X12.Document...

An X12 / 271 message shows "Completed" on the BO. However, it did not reach its destination. I searched for more information on what the error means but, couldn't find much. See error enclosed below. Any idea what it means and how to fix it?

More info...

  • The IOLog Record shows in the Output Data an error... "An error occurred with the web application. It has been logged to system error log (System Operation > System Logs > Application Error Log)."
  • The EDI response shows the same message... "An error occurred with the web application...." 
  • I re-sent the message from the BO and it went out successfully and reached its destination. 

Error logged in the Application Error Log: 

<SUBSCRIPT>buildRuntimePathFromIndex+135^EnsLib.EDI.X12.Document.1 ^EnsEDI.X12.Segment("") : CSP Error
Discussion (0)1
Log in or sign up to continue
Announcement
· Jan 15

[Video] Selecionando a estratégia de Controle de Fontes correta para sua equipe

Olá Comunidade, 

Aproveite o novo vídeo do InterSystems Developers YouTube:

⏯ Selecting The Right Source Control Strategy for Your Team @ Global Summit 2024

Assista a este vídeo para uma análise das opções, incluindo combinações que funcionam entre ambientes Private ou Shared Dev, bem como Client-side ou Embedded Source Control com tecnologia InterSystems. Também abordaremos atualizações para o popular pacote OEX git-source-control, que fornece funcionalidade Embedded Source Control em ambientes de desenvolvimento compartilhado de produtos InterSystems (conforme usado em nossas implantações do Health Connect Cloud).

 Apresentadores
🗣 @Ben Spead, Manager, Application Services, InterSystems
🗣 @Pravin Barton, Principal Application Developer, Application Services, InterSystems

Confira e descubra algo novo — aproveite! 👍

Discussion (0)1
Log in or sign up to continue
Question
· Jan 15

Single Operation to Concatenate 2 %DynamicArrays?

Hello,

Is there a single ObjectScript operator or method to concatenate two %DynamicArrays?

I'm looking for something that will do the following:

set arr1 = [ 1, 2, 3 ]
set arr2 = [ 4, 5, 6 ]
set arrcombined = arr1.%Concatenate(arr2)

or 

set arrcombined arr1_arr2

With end result:

zw arrcombined
arr1=[1,2,3,4,5,6]  ; <DYNAMIC ARRAY>

I can iterate and %Pop over the 2nd array and %Push each popped entry to the 1st array, but I was looking for something more succinct.

Thanks in advance.

4 Comments
Discussion (4)1
Log in or sign up to continue
Announcement
· Jan 15

[Video] First Vector Search on IRIS

Hey Community,

Enjoy the new video on InterSystems Developers YouTube:

⏯ First Vector Search on IRIS

Learn the concept of vector search and its growing importance in understanding and comparing textual feedback. By converting sentences into multi-dimensional numerical arrays, known as vectors, the software can calculate the similarity between them by measuring the distance between their respective points in vector space. This allows for a more nuanced analysis of language.

🗣  Presenter: @Seisuke Nakahashi, Senior Developer Support Engineer, InterSystems

Enjoy watching, and look for more videos! 👍

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