Hi all,
when using a “Call Subroutine” block on IRD, wich is the best method to exit the subroutine strategy? exit block?
Keep in mind I’m inside GVP when calling subroutine (DeliverCall[‘return:ok|dn:601|rdn:601|switch:GVP|target_location:StatServer75URS|target_name:601_GVP|target_type:RP’,DELIVERTOAGENT])
Hi all, thank you for the answers. Exit works, but I’m noticing some troubles using attach data when using more than one subrooutine level (calling a subroutine from inside another one), so I just felt the need for a confrontation with you.
At the moment I’m trying to use subroutine IN/OUT vars, instead of attach data; to use them I just need to set the IN/OUT var name equal to the local var name of the main strategy, is it right?
Best regards,
Gef.
EDIT
Ok, think I figured out; must create some “cross reference table” between subroutine IN/OUT parameters, and main strategy variables, and with different name between nested subroutines parameters. Correct?
In your subroutine go to the file describe and you can set input and output variables for the subroutine. Then when adding the subroutine to the strategy you can define the what strategy variable you want for the input variables and the output variables from the subroutine.