This occur because some Business Host still processing a message or waiting for a response.
You can override the method StopProduction to force the production to stop.
Class br.cjs.test.TestProduction Extends %UnitTest.TestProduction
{
/// Class name of the production. It must contain the production class name.
Parameter PRODUCTION As %String = "HC.Production";
/// Paratmerter used to force stop production by Ens.Director
Parameter FORCESTOPPRODUCTION As %Boolean = 1;
/// Code to run right after the production is started. Used, for example, to call a method that initiates the test.
/// If an error status is returned, the test will be aborted and failed and the production will be stopped.
/// So if a non fatal error occurs, you may invoke ..LogErrors(status,"OnAfterProductionStart()") and return $$$OK.
Method OnAfterProductionStart() As %Status
{
#Dim exception As %Exception.General = ""
#Dim statusCode As %Status = $System.Status.OK()
Try
{
// Do Yor Tests
}
Catch (exception)
{
Set statusCode = exception.AsStatus()
}
Return statusCode
}
Method StopProduction() As %Boolean [ Internal, Private ]
{
Do ..GetMacros(.Macro)
Do $$$LogMessage("Stopping production '"_..#PRODUCTION_"'")
Set r = $$$AssertStatusOK(##class(Ens.Director).StopProduction(..#MAXWAIT, ..#FORCESTOPPRODUCTION), "Invoking Ens.Director::StopProduction")
If 'r Quit 0
Set r = $$$AssertStatusOK(..WaitForState(Macro("eProductionStateStopped")), "Verifying Ensemble state is 'Stopped'")
If 'r Quit 0
Quit 1
}
}
go to post
Hi Stephen, I used to use this online diff tool: https://hl7.cc/juxtapose
go to post
Sorry my misunderstood John.
The class EnsLib.HL7.Segment has methods Escape and Unescape and classmethods EscapeEx and UnescapeEx.
See documentation about HL7 Escape Sequences.
Example:
go to post
Hi John,
If I understood, you want to pass the code to a method and return the description.
All descriptions of HL7 code tables are stored in the global ^EnsHL7.Description.
The structure of global is ^EnsHL7.Description(<category>,"CT",<codeTableCode,valurKey>)=<descritpion>.
For HL7 Schema Category 2.3.1 the global have the content:
A generic method would be like:
go to post
Hi Ahmad,
In the class Ens.Util.FunctionSet exists the methods In and NotIn, that's work if comma-delimited string.
To check if a value is not in a LookupTable test if the returns of method Lookup is empty.
go to post
Hi David,
The SQLCODE -102 is that you trying to open, close or fetch a unopened cursor: https://docs.intersystems.com/irislatest/csp/docbook/Doc.View.cls?KEY=RERR_sql#RERR_sql_101
go to post
Hi Ruslan,
Yes see the mozila specification: https://developer.mozilla.org/pt-BR/docs/Web/HTTP/Headers/Content-Encoding
go to post
Renato,
You can use the builtin InterSystems Natural Language Processing (iKnow) of IRIS.
go to post
Hi Yuri,
Only Journal Data Compression to be transmited between mirrors .
go to post
Hi Yuri,
Maybe you can do it with Row Level Security.
go to post
Hi Igor,
This occur because some Business Host still processing a message or waiting for a response.
You can override the method StopProduction to force the production to stop.