Allows interruption of any long-running SQL processes that are involved in creating the result set or spool file.
| Valid in: | SAS/ACCESS LIBNAME statement |
|---|---|
| Category: | Data Set Control |
| Default: | NO |
| Restriction: | Valid for only Windows and UNIX platforms |
| Data source: | Teradata |
Table of Contents
allows interruption of long-running SQL processes that are involved in creating the result set or spool file.
disables the interrupt processing code path.
When set to YES, here is how you can use this option:
Once the result set or spool file forms on the Teradata server and SAS is fetching the results, it is likely that the interrupt might no longer be available. You must wait until all results are fetched. The interrupt works in only one of these cases:
libname x teradata user=myusr1 pass=mypwd1
TR_ENABLE_INTERRUPT=YES server=mysrv1;
data _NULL_; set x.paul_test; run;
proc datasets lib=x; quit;
proc sql;
create table work.a as select * from x.td_cancel, x.td_cancel;
quit;
proc sql; connect to teradata (user=myusr1 pass=mypwd1
TR_ENABLE_INTERRUPT=YES server=mysrv1);
select * from connection to teradata
( select * From td_cancel a , td_cancel b );
quit;