Find

Question
· Aug 17, 2017

Replacing all strings of special kind with macro calls

Hello everybody.

What I have is a criteria how to select "my" strings. What I need is to replace all of them with macro calls (using the same strings as arguments) in all classes of current namespace.

I was ready to write straightforward code, but at the last moment decided to ask the community: maybe I've overlooked a smarter option?

Any comments and advices would be great appreciated.

6 Comments
Discussion (6)2
Log in or sign up to continue
Question
· Aug 16, 2017

How to get the number of global references for a dynamic sql statement

In $system.SQL.Shell(), it would also report the number of global references for a given query.

Is it possible that I could also get this statistics from the %SQL.Statement interface when I launch a dynamic sql?

Thanks.

4 Comments
Discussion (4)1
Log in or sign up to continue
Question
· Aug 16, 2017

DotNetGateway port already in use

We have some productions in Ensemble that uses DotNetGateway to use dll created with .Net. The DotNetGateway is configured with a port number, and then the operation uses that port.

But sometimes, suddenly Ensemble answers that the port is already in use, but it is only used by the DotNetGateway. And the only way to resolve this and make the port available again, is to restart the full server. We have tried to restart Ensemble, to kill the process that may be using the port and nothing. Is there any way to make a DotNetGateway port "stay connected" or 
something to search who is occupying the port and release it?

1 Comment
Discussion (1)0
Log in or sign up to continue
Question
· Jul 14, 2017

How to specify the UrlMap for Rest call

Hi,

I have a UrlMap like the one below.

<Route Url="/Results/:queryID" Method="POST" Call="QueryResults"/>

What if I have to pass two parameters to QueryResults, how to do configure Url?

Something like Url="/Results/:queryID/:parameter2"   ?

Thanks.

1 Comment
Discussion (1)0
Log in or sign up to continue
Discussion (8)1
Log in or sign up to continue