Nova postagem

Encontrar

Pergunta
· Mar. 13

When doing conversion work, separate production or namespace

I am starting a conversion project for a health system that is currently migrating to Health Connect. They have their DEV and TST environments in one production and their PRD in another.  What is the best practice for standing up conversion environments...separate name spaces in the two productions or separate productions? Keep in mind the interfaces are temporary?

 

Mike

3 Comments
Discussão (3)3
Entre ou crie uma conta para continuar
Pergunta
· Mar. 13

How do I get the name of the OS user used by the IRIS superserver?

Is there a way in ObjectScript to return the OS user of the superserver? I know %SYS.ProcessQuery can find this for a given process but is there a clean way independent of a specific process ID I can find the OS user used for background jobs?

For IRIS this is usually irisusr and Caché this is usually cacheusr but may vary based on installation and upgrade history of an instance. I would find it very useful to determine programmatically if a process is running as this particular user when the username may vary.

12 Comments
Discussão (12)3
Entre ou crie uma conta para continuar
Artigo
· Mar. 13 1min de leitura

Cómo mostrar %Error de estado en la Terminal o ¡Tengamos un nuevo y útil alias de terminal!

¡Hola compañeros!

Otra vez más me he dado cuenta de que no hay una forma supersencilla de mostrar el error de la variable %Status, cosa que necesito con relativa frecuencia desde el terminal.

Sí, conozco las macros $$$, pero no son demasiado útiles en un terminal.

Habitualmente lo que hago es intentar recordar de memoria o copiar de algún sitio la fórmula:

USUARIO>w $System.State.DisplayError(st)

Así que introdujo el alias:

:alias err d $System.Status.DisplayError($1) ;

entonces, si obtenéis algo como

USUARIO>set st=##class(bla.bla).methodbla()

podéis obtener el error como

USUARIO>:err st
d $System.Status.DisplayError(st) ;
ERROR #879: El rol NewRole no existe.

Espero que os guste.

Todos los alias

Discussão (0)1
Entre ou crie uma conta para continuar
Discussão (0)1
Entre ou crie uma conta para continuar
Discussão (0)1
Entre ou crie uma conta para continuar