Just similar to "Server Routine" in server jobs.
The routine can be called within derivation expression.
It seems "Parallel Routine" is a different concept.
Can any one tells me how to create those sub-routines similar to "Server Routine"?
Thanks
How to create sub-routines in Parallel jobs?
Moderators: chulett, rschirm, roy
"Parallel Routine" seems to be only called before or after a processing stage. It couldn't be called within the derivation expression (like those built-in functions, or similar to "server routine"). Correct me if I am wrong.
I am wondering, in parallel jobs, how to create user-defined routines which can be called within the derivation expressions?
I am wondering, in parallel jobs, how to create user-defined routines which can be called within the derivation expressions?
DSguru2B wrote:Try searching here. There are lots of topics dedicated to parallel routines. You will even find code for some parallel routines.
If its a "Transform Function" routine, only then you can call it inside the derivation, else if it is designated as "Before/After" job subroutine, you can only call it there.
As per your question
In brief, you need to write a c/c++ function, test it out, create the object file, specify the locatiion of the object file while creating the routine. Once the interlude has been created, you will see it in the drop down section with in the derivation under Parallel Routines.
As per your question
that is why I asked you to search.mingzhang wrote: I am wondering, in parallel jobs, how to create user-defined routines which can be called within the derivation expressions?
In brief, you need to write a c/c++ function, test it out, create the object file, specify the locatiion of the object file while creating the routine. Once the interlude has been created, you will see it in the drop down section with in the derivation under Parallel Routines.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.