good point:
there are only 17 rules referring to BUGS:
In total the quality check shows 106 rules.png)
So there is more and I personally deeply disagree with some of them
- Log in to post comments
good point:
there are only 17 rules referring to BUGS:
In total the quality check shows 106 rules.png)
So there is more and I personally deeply disagree with some of them
Not a ready-to-use solution, but a way to take
With JOB you start an independent process in background.
You can pass any variable you may need.
But you can't pass the connection to the CSP page with all its settings.
the connection stays with the foreground job.
there is a standard utility %ETN that writes such logs with the stack
and all other $system variables into the global ERRORs
if you call it by LOG^%ETN it does a kind of snapshot
details here take a look
some formatting of output was applied
😒😟
Are community images from intersystemsdc/ also affected ?
example moved here Remote Global Listing using NativeAPI for ObjectScript #1
my personal congratulations to the Winners ! 👍
According to class Class Contatos.Amiguinho you presented
Class Contatos.Empresa should look similar to this to work:
Class Contatos.Empresa Extends%Persistent
{
Relationship Nomedaempresa As
Contatos.Amiguinho [ Cardinality = many, Inverse = Trabalho ];Property Nome As%String;
Storage Default
}It also needs an ID and a Relationship.
you may run an export ^%G like on the remote server and then copy somehow the result
It's an orgy of IsDefined ($DATA) and GetNext( $ORDER) as equivalent of $QUERY is not implemented
sorry, Insert() is only for the "MANY" side of the Relationship
You just can insert existing IDs.
So you have to check first:
set emp=##class(Contatos.Empresa).%OpenId(IDt)
if $isObject(emp) Do objcontato.Trabalho.Insert(emp)
Relationship is an Object concept that has no direct equivalent in SQL to handle it
The "MANY" end is basically just a piece of code (RelationshipObject) to handle it.
By SQL you just can set it indirectly from the "ONE" end as you found yourself.
This is a real Property / Column that has a distinct value that you can touch and set
My 5th Choice:
My 3rd Choice:
mixing file systems Win / *UX might be tricky
My Second Choice:
My First Choice:
BTW:
whatever your method does it always terminate with Quit $$$OK
so whatever happens it is equivalent to
set SphereJauh=1
I assume you look for a different return value ? Is it ?
yourClassMethod GetSphereJauh(Id..... is located in some Class
so just call it as any other class methodset SphereJauh=##class(classname).GetSphereJauh(ATTRDesc)
the fact that this is used as part of a custom class query is totally irrelevant in this context.
it is straightforward ObjectScript. nothing else
Now it is obvious that ^realglobal has 11.3 times the size of ^testglobal
while your ^testglobal seems to have all blocks in buffers in memory
this is rather unlikely for ^realglobal.
So repeated reloading of blocks from disk seems to cause the delay
If you have the chance to double or triple your global buffers
you most likely may see improved processing of your $O()
How do you recognize LOCKED items ?
How do you LOCK items ?
BTW: check consumption of IRIS Licenses
Follow up to @Dmitry Maslennikov:
Error on IRIS side: ACCESS DENIED ODBC can't connect ===> timeout
Why ACCESS DENIED ? The most likely cause
You can avoid this by
check https://openexchange.intersystems.com/package/function-ISJSON-2 in OEX
and https://community.intersystems.com/post/function-check-if-string-json-object in DC
Muchas gracias !
Thank you all!
400+ years back when my earliest documented ancestor was born
Spain+Austria was a World Wide Empire ("Casa Austria", Emperor Carlos V.) that ruled the globe.
I feel quite familiar with you.
Robert