These are the steps and the tools shown in the image:
Set various optimizer hints. ttOptSetFlag
Prepare command. SQLPrepare
Execute command. SQLExecute
Execute command. SQLExecute
Command is invalidated (if application chooses to invalidate). ttOptUpdateStats on T2
Command is reprepared automatically, using same hints, and executed. SQLExecute
Execute command. SQLExecute
Drop command. SQLFreeStmt