Next is to call the action script once for each of our join statements. To do this the join statement that is to be timed will be set to the global value 'SQL' using the 'setGlobal' task. Then the 'echo' task is used to identify to the user what the current running statement is. Now the action named 'statmentTimer' is called using the 'callAction' task. Lastly the avgRunTime is save from the action script into a global parameter for later use and then echo the results using the 'echo' task.

Steps to complete: