新しい投稿

検索

記事
· 2024年10月18日 2m read

Recursos útiles de CCR

Los usuarios de la aplicación InterSystems Change Control Record (CCR) a menudo solicitan recursos útiles que les ayuden a aprender sobre CCR y mantenerse al tanto de las actualizaciones. Por favor, consultad la siguiente lista de recursos y publicad ideas para recursos adicionales o preguntas que podáis tener.

  • Grupo CCR en la Comunidad de Desarrolladores - https://community.intersystems.com/tags/ccr
    • Por favor, seguid al grupo para ver anuncios sobre oportunidades de formación, mejoras de la aplicación y preguntas y respuestas de los usuarios.
    • No dudéis en añadir vuestras propias preguntas, etiquetándolas con "Group = Other" y "Tags = CCR" para que aparezcan en el feed de CCR de la Comunidad de Desarrolladores.
  • Cursos interactivos en línea de CCR - https://learning.intersystems.com/ 
    • Escribid ICC (para InterSystems Change Control) en el cuadro de búsqueda en la parte superior derecha y filtrad a la izquierda por "Cursos Interactivos" (por favor, ignorad los que están RETIRADOS... están siendo eliminados de los resultados de búsqueda).
  • Curso de 3 días con instructor sobre CCR Nivel 1 - https://www.intersystems.com/course-offerings/intersystems-change-control-tier-1-basics/ 
    • Cubre todo el material necesario para el uso adecuado de CCR en sitios de Nivel 1.
    • Los cursos de Nivel 2 de TrakCare también están disponibles bajo demanda (4 días).
  • Todo el material de formación del curso de ICC - https://ccr.intersystems.com/ccr/ng/csp?t=ICCDocs.csp
    • Disponible en el menú de CCR.
    • El archivo "ICC_AllCourseContent.pdf" puede ser muy útil para tener a mano y buscar temas específicos como "ImplementCCR" o "Group".
  • Referencia para la Certificación de Especialista en Implementación Técnica de CCR de InterSystems - https://www.intersystems.com/certifications/intersystems-ccr-technical-implementation-specialist/
    • Incluso si no planeáis obtener la Certificación Profesional en CCR (lo cual os recomendaría que al menos una persona en cada organización lograra), es muy útil revisar el material del curso y las preguntas de práctica para llenar posibles lagunas de aprendizaje crítico sobre CCR.
    • La Certificación de Nivel 1 está actualmente disponible; la Certificación de Nivel 2 está tentativamente planeada para lanzarse en 2026.
    • No dudéis en hacer preguntas sobre el material en el Grupo CCR de la Comunidad de Desarrolladores.
  • Preguntas Frecuentes de CCR - https://ccr.intersystems.com/ccr/ng/faqs
    • Disponibles en el menú de CCR, esperamos que ya estéis utilizando este recurso, pero puede ser útil para llenar lagunas de conocimiento.
    • Tratamos de incluir todo esto en las diapositivas de ICC, pero a veces puede llevar tiempo, por lo que solemos compartir información útil a través de las Preguntas Frecuentes.

No dudéis en hacer preguntas; ¡queremos ayudaros a aprender y tener éxito con CCR!

ディスカッション (0)2
続けるにはログインするか新規登録を行ってください
質問
· 2024年10月18日

¿Cómo obtener el error SQL nativo en SQL Outbound adapter?

Hola a todos,

Tenemos una restricción en una base de datos de SQL con un índice único.

Queremos capturar la excepción cuando intenta insertar o actualizar un valor que incumpla la condición del índice único.

// run the query
Set tSC = ..Adapter.ExecuteUpdateParmArray(.nrows,SQL,.param)

// Check if there is any error
If $$$ISERR(tSC)
{
	Set msgError = $System.Status.GetErrorText(tSC) 
	// Check here if the native error code is 2601 (Cannot insert duplicate key row into object 'MYPATIENTS' with unique index 'UQ_UNIQUE_INDEX')
	??????
}

He intentado capturar el valor de ..Adapter.%SQLCODE, pero está vacío

¿Está este código oculto en la variable tSC? Me explico, de la misma forma que pueda capturar el texto del error usando la clase $System.Status, ¿Hay algún método para capturar el error nativo?

Saludos cordiales

1 Comment
ディスカッション (1)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年10月18日

How to get the native sql error in SQL outbound adapter?

Hi all,

We have an restriction in a SQL database with a unique index.

We want to catch that exception when it tries to insert or update a value that violates the unique index condition.

// run the query
Set tSC = ..Adapter.ExecuteUpdateParmArray(.nrows,SQL,.param)

// Check if there is any error
If $$$ISERR(tSC)
{
	Set msgError = $System.Status.GetErrorText(tSC) 
	// Check here if the native error code is 2601 (Cannot insert duplicate key row into object 'MYPATIENTS' with unique index 'UQ_UNIQUE_INDEX')
	??????
}

I've tried to get the ..Adapter.%SQLCODE, but it is empty

Is this code hidden into the tSC variable? I mean, the same way I can get the Error Text using the $System.Status class, is there any method to get the native error?

Best regards

3 Comments
ディスカッション (3)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年10月18日

Help Needed: How to Ensure BPL ????? for All Asynchronous Calls Before Proceeding?͓̽

Hello,

First of all: thanks for your help, and thank you for your time.

Thanks for your time.

We have the following situation:

We are in a BPL, and we have defined 4 <call> asynchronous as follows:

First one name: "Enviar a Proceso NEGRIN"

The second one, named as: "Enviar a Proceso HUNSC"

The third one, titled: "Enviar a Proceso CHUIMI 02"

 

And the fourth and last one names as: "Enviar a Proceso Fuertev"

Inmediately after the 4 calls, we have a <sync> instruction which should wait for all of them to finish.

It has in the calls text area the name of the four ones which it should wait for: "Enviar a Proceso NEGRIN,Enviar a Proceso HUNSC,Enviar a Proceso CHUIMI 02,Enviar a Proceso Fuertev"

If we zoom out the BPL, we see it spots in green the 4 previous calls:

 

However, when we test it, we see in the Visual Trace the following behaviour:

 

We would like that the Process would wait for [12], [15], [17] and [19]... but it does not wait... it just get the first <call> response as seen in [12] and it executes the following <code> block which obviously fails...

 

Finally, we have the following doubt:

How could we say to the BPL to wait always for the 4 <call> response before executing the next <code> block?

 

We have read the following documentation to solve it by ourselves:

https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

https://es.community.intersystems.com/post/call-as%C3%ADncronicas-din%C3...

9 Comments
ディスカッション (9)2
続けるにはログインするか新規登録を行ってください
記事
· 2024年10月17日 2m read

第五十章 安全元素的详细信息

第五十章 安全元素的详细信息

本主题讨论 SOAP 消息中较常见的安全元素,特别是 IRIS Web 服务和客户端可以发送的变体。此信息旨在帮助那些不经常使用 SOAP 的人重温记忆。此处的详细信息也可能有助于故障排除。

<BinarySecurityToken>

<BinarySecurityToken> 的目的是携带消息中其他元素使用的安全凭证,供消息接收者使用。安全凭证以序列化、编码的形式携带。以下显示了部分示例:

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください