When we add super procedure into session super procedure handle stock, We can define these option, Search-self and Search-Target. Can you pls someone clarify me about the difference of these options?
SEARCH-TARGET: Search in this super procedure from the bottom of the super procedure stack which belongs to a base procedure. Example: Procedure A has super procedures B and C with SEARCH-TARGET added. When you do RUN xyz IN A it will search A, then B and then C.
SEARCH-SELF: Search in this super procedure from the bottom of the super procedure stack which belongs to the procedure to which this super procedure was added. Example: Procedure A has super procedure B which in turn has itself a super procedure C. When you do RUN xyz in A it will search A, B and then C.
I've never used the second case as I have not had a valid case for it yet. The first case is employed by the ADM2 ( and Dynamcis ) which make heavy use of super procedures.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.