WQM is a recommended and preferred approach, but here's an article which might be helpful to you.
- Log in to post comments
WQM is a recommended and preferred approach, but here's an article which might be helpful to you.
Congratulations, Benjamin!
While I agree that ideally you'd run two IRIS nodes in two geographically close but fully separate datacenters, running IRIS in a mirror with both servers in the same datacenter still provides protection from:
In addition to that datacenters often allow users to specify placement strategy. Select spread placement strategy to avoid hosting both servers on the same underlying hardware if possible.
So mirroring in this scenario still provides a lot of advantages.
Sure, you have two approaches:
XMLPROJECTION=NONE for the properties you want to skip%ShowContents method for your message class to skip some of the properties (check Ens.Util.MessageBodyMethods for a sample implementation).What BO are you using?
Done
In that case you need to implement REST API and call that.
Are you in the interop context? If yes, SendSync/SendAsync should be available for you.
If not, check this article.
Use %Classname(1) method?
Can you copy FOP to two places (or each job at a start copies FOP to it's own dir) and call it in parallel after that. Would that work?
I recommend using embedded python and boto3.
I agree that
[ CodeMode = objectgenerator ]is certainly outside of this code golf conditions (method signature should not be changed), but it's still a creative example.
^IRIS.Msg("EnsColumnsNAMESPACENAME,"en"Can be mapped to your DB, so you won't lose the changes on update (and also you won't need to make ENSLIB RW).
*i is a great idea.
There are to valid ways to solve this code golf:
Both approaches are valid, sample solution uses approach 1.
"Print out" is any output the program produces so if you for example add 1/0 at the end it might save you a few characters.
Well, in that case you might as well do this (down to 41):
ClassMethod ascii() [ CodeMode = objectgenerator ]
{
f i=0,27,0:1:94 d %code.Write($c(i+32))
}I am very interested how compilation flags help you with this.
it's like cheating
Reflective programming is not cheating!
42 characters so far.
Pinging @Stefan Wittmann
Class methods are recommended for use in all cases.
While classes provide an overhead, this is usually negligible.
Yes, query Ens.MessageHeader table, maybe joining on a body and then call AbortMessage method here.
But how do you decide on a user? Do you have only one user to assign tasks to?
Great!
I see you are using this query:
SELECT %Actions, %Message, %Priority, %Subject, TaskStatus_TimeCreated, ID
FROM EnsLib_Workflow.TaskResponse
WHERE TaskStatus_AssignedTo = ?
AND TaskStatus_IsComplete = 0So it returns only uncompleted tasks assigned to a current user (by the way UserName is a valid sql variable so you don't need to pass it as an argument from ObjectScript). It does not return unassigned tasks - do you autoassign tasks in production? If so, how?
How do you call TEST_ROUTER?
See you in Maryland!
Create subscript level mappings for a correct database.
%ALL global mapping is higher priority than namespace mapping: if %ALL has ^a global mapped to db A and your namespace has ^a mapped to db B, global ^a from db A would be used when you access it from your namespace.
But, subscript mapping is higher priority than global mapping: if %ALL has ^a global mapped to db A and your namespace has ^a(1) mapped to db B, global ^a(1) from db B would be used when you access ^a(1) from your namespace.