Select the Define Symbol action. Define the following rule action parameters:
Symbol Name: CURRENT_SCHEMA
Symbol Value: \(1)
Keep Per Session: Yes
For alternative syntaxes of SET SCHEMA, you can change the regular expression in the Text matcher based on the SQL syntax option that you use for the SET SCHEMA command.