The following example
shows how to use an execute(reset <reset-options>)
statement
in SQL explicit pass-through server code to invoke reset options
for the SQL Planner, Parallel Group-By facility, Parallel Join facility,
or STARJOIN facility.
Most usage examples of the SQL Planner reset option in this document use SQL
explicit pass-through code.
/* SQL Explicit Pass-Through Example */
/* to invoke an SQL Reset Option */
proc sql;
connect to sasspds (
dbq='MyDomain'
host='husky'
service='5600'
user='siteusr1'
password='passwrd') ;
execute(reset PRINTLOG)
by sasspds ;
execute(SQL statements)
by sasspds ;
disconnect from sasspds ;
quit ;
The example includes
two EXECUTE statements. The first EXECUTE statement specifies the
reset option. The SQL statements to which the reset option applies
are specified in the second EXECUTE statement.