查找

Question
· Juil 27, 2017

Get STACK of another process

Hi,

How can I read the stack of another process?

I know about ^JOBEXAM, but I only know how to use through terminal, and I need to get a string, or at least do a method that returns me a string

For example:

I have process A and B

B monitors process A at each second.

B logs information about process A in a table

Informations about lock I get through %SYS.LockQuery and the process through %SYS.Process

How can I get stack of process A from process B to log in the table?

Cache 2015.2.1

 

Thanks

2 Comments
Discussion (2)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Juil 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
Connectez-vous ou inscrivez-vous pour continuer
Discussion (8)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Juil 12, 2017

Estimation techniques in intersystems

how do we do estimation in Intersystems ? what is the unit of  work that we refer for intersystems ? let's say for example if we to add 200 fields how many business classes ( Business service, Business process, Business operations) that we must change  ?

Any thumb rule ? Please let know

4 Comments
Discussion (4)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Juil 11, 2017

dotenv: Read enviroment variables from a .dotenv or straight from your OS

You might find it useful or not. It depends on what you can imagine it to be used with, like I had to.

Either way, I created a lib that can fetch environment variables from a file or from the OS where Caché is running.

Mostly know as dotenv. Many languages have it, so why not Caché?

The usage is pretty simple:

If you want to use OS env vars exclusively, just use the method:

##class(DotEnv.Parser).FromOS()

Otherwise, if you want to specify a .env file containing your variables to complement the OS ones use the method:

##class(DotEnv.Parser).FromPath("/path/to/file")

Both methods return an %ArrayOfDataTypes containing the env variables.

3 Comments
Discussion (3)0
Connectez-vous ou inscrivez-vous pour continuer