Create a dummy table and insert the SQL_STMT which u r creating dynamically using execute immediate.

then try executing the generated script from the table...