Question
Michel Bruyère · Nov 28, 2019

StreamContainer.

Hello,

I make some changes in our ObjectScript code between our prod environment  and dev environment in the process 'Hl7AdtFileIsoslBp'.

The operation is a class with "EnsLib.TCP.TextLineOutboundAdapter".

In prod:

In dev:

 

Like you can see, I don't have the contents of the text file.

I checked a lot of parameters but it seems identical.

The content of file is correctly received through TCP. So the only glitch is I don't see it in the 'View Full Contents'.

Best Regards.

0
0 334
Discussion (10)0
Log in or sign up to continue

I modified the process to:
Class ??? Extends (Ens.BusinessProcess, %XML.Adaptor)

Unfortunately, it does not work. sad

The added %XML.Adaptor  is not active until the related object is closed and a new instance of it  is opened again.

How to do the close ? I don't see any method for that.

Snippet of the code:

SET lineStream = ##class(%Stream.FileCharacter).%New()

...

SET streamCont=##class(Ens.StreamContainer).%New(lineStream)
$$$TOE(sc,..SendRequestSync(..TargetConfigName, streamCont))

you either remove the reference to the object
or terminate the process that holds the references.

Hi Michel!

have you seen how comic sans is viewed on mobile devices?

 

this is not very easy to read. Do you really need Comic Sans?

In the process for example:

  • Prod environment: SET date = hl7.GetValueAt("MSH:DateTimeOfMessage.Time")
  • Dev environment: SET date = hl7.GetValueAt("MSH:DateTimeOfMessage.timeofanevent")

The glitch is related with the browser and probably also the Ensemble's version.

If I use another browser, I got :

If I read the HTML source, I can see my data. So, I have a solution. smiley