Encontrar

Artículo
· 18 oct, 2024 Lectura de 1 min

QuinielaML - Predicción de la 16ª jornada de la Quiniela

Volvemos nuevamente con la Quiniela habitual de 1ª y 2ª División así que veamos que partidos forman parte esta jornada de liga, la 10ª para ambas divisiones.

Veamos las predicciones para Primera División:

Y para Segunda serán los siguientes:

Esto nos deja la siguiente Quiniela:

Veamos que tal se nos da, ¡a ver si empezamos a ver beneficios!

Comentarios (0)1
Inicie sesión o regístrese para continuar
Artículo
· 18 oct, 2024 Lectura de 2 min

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!

Comentarios (0)2
Inicie sesión o regístrese para continuar
Pregunta
· 18 oct, 2024

¿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 Comentario
Comentarios (1)1
Inicie sesión o regístrese para continuar
Pregunta
· 18 oct, 2024

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 comentarios
Comentarios (3)1
Inicie sesión o regístrese para continuar
Pregunta
· 18 oct, 2024

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 comentarios
Comentarios (9)2
Inicie sesión o regístrese para continuar