<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Pipelined I/O thread did not timely terminate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/572943#M267898</link>
    <description>&lt;P&gt;I'm have got this message recently&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used the option trace referred in this post and I got this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ORACLE_1: Prepared: on connection 11 1 1562878422 no_name 0 SQL (2) 
SELECT * FROM LDC.CLIENTE_TERCERO 2 1562878422 no_name 0 SQL (2) 
  3 1562878422 no_name 0 SQL (2) 
  4 1562878422 no_name 0 SQL (2) 
ORACLE_2: Prepared: on connection 11 5 1562878422 no_name 0 SQL (2) 
SELECT * FROM LDC.CT_SEGMENTACION 6 1562878422 no_name 0 SQL (2) 
  7 1562878422 no_name 0 SQL (2) 
  8 1562878422 no_name 0 SQL (2) 
ORACLE_3: Prepared: on connection 11 9 1562878422 no_name 0 SQL (2) 
SELECT  NULL as TABLE_QUALIFIER,  t.owner as TABLE_OWNER,  t.table_name as TABLE_NAME,  t.num_rows as ROW_COUNT  FROM  all_tables t 
WHERE  t.table_name='CLIENTE_TERCERO' AND  t.owner='LDC'  10 1562878422 no_name 0 SQL (2) 
  11 1562878422 no_name 0 SQL (2) 
  12 1562878422 no_name 0 SQL (2) 
8                                                          The SAS System                              16:50 Thursday, July 11, 2019

ORACLE_4: Executed: on connection 11 13 1562878422 no_name 0 SQL (2) 
SELECT statement  ORACLE_3 14 1562878422 no_name 0 SQL (2) 
  15 1562878422 no_name 0 SQL (2) 
  16 1562878422 no_name 0 SQL (2) 
ORACLE_5: Prepared: on connection 11 17 1562878422 no_name 0 SQL (2) 
SELECT  NULL as TABLE_QUALIFIER,  t.owner as TABLE_OWNER,  t.table_name as TABLE_NAME,  t.num_rows as ROW_COUNT  FROM  all_tables t 
WHERE  t.table_name='CT_SEGMENTACION' AND  t.owner='LDC'  18 1562878422 no_name 0 SQL (2) 
  19 1562878422 no_name 0 SQL (2) 
  20 1562878422 no_name 0 SQL (2) 
ORACLE_6: Executed: on connection 11 21 1562878422 no_name 0 SQL (2) 
SELECT statement  ORACLE_5 22 1562878422 no_name 0 SQL (2) 
  23 1562878422 no_name 0 SQL (2) 
  24 1562878422 no_name 0 SQL (2) 
ORACLE_7: Prepared: on connection 11 25 1562878422 no_name 0 SQL (2) 
SELECT  "TIPOIDENT", "IDENT", "SEGMENTACION", "IDCLIENTE" FROM LDC.CLIENTE_TERCERO  WHERE  ( ("TIPOIDENT" NOT  IN  ( 'I' , 'J' ) ) 
) 26 1562878422 no_name 0 SQL (2) 
  27 1562878422 no_name 0 SQL (2) 
  28 1562878422 no_name 0 SQL (2) 
ORACLE_8: Executed: on connection 11 29 1562878422 no_name 0 SQL (2) 
SELECT statement  ORACLE_7 30 1562878422 no_name 0 SQL (2) 
  31 1562878422 no_name 0 SQL (2) 
  32 1562878422 no_name 0 SQL (2) 
ORACLE_9: Prepared: on connection 11 33 1562878422 no_name 0 SQL (2) 
SELECT  "DESCSEGMENTACION", "CODSEGMENTACION" FROM LDC.CT_SEGMENTACION  34 1562878422 no_name 0 SQL (2) 
  35 1562878422 no_name 0 SQL (2) 
  36 1562878422 no_name 0 SQL (2) 
ORACLE_10: Executed: on connection 11 37 1562878422 no_name 0 SQL (2) 
SELECT statement  ORACLE_9 38 1562878422 no_name 0 SQL (2) 
  39 1562878422 no_name 0 SQL (2) 
ORACLE: Pipelined I/O thread did not timely terminate

ORACLE: Pipelined I/O thread terminated on 2nd attempt

  40 1562878424 no_name 0 SQL (2) 
ORACLE_11: Prepared: on connection 11 41 1562878424 no_name 0 SQL (2) 
SELECT  "TIPOIDENT", "IDENT", "SEGMENTACION", "IDCLIENTE" FROM LDC.CLIENTE_TERCERO  WHERE  ( ( ("TIPOIDENT" NOT  IN  ( 'I' , 'J' ) 
) ) AND  ( ("SEGMENTACION" IN  ( '00' , '01' , '02' , '03' , '04' , '05' , '06' , '11' , '13' , '15' , '17' , '50' , '51' , '52' , 
'53' , '54' , '55' , '56' , '88' , '99' ) ) ) ) 42 1562878424 no_name 0 SQL (2) 
  43 1562878424 no_name 0 SQL (2) 
  44 1562878424 no_name 0 SQL (2) 
ORACLE_12: Executed: on connection 11 45 1562878424 no_name 0 SQL (2) 
SELECT statement  ORACLE_11 46 1562878424 no_name 0 SQL (2) 
  47 1562878424 no_name 0 SQL (2)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 21:01:22 GMT</pubDate>
    <dc:creator>osmelbrito</dc:creator>
    <dc:date>2019-07-11T21:01:22Z</dc:date>
    <item>
      <title>Pipelined I/O thread did not timely terminate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/227424#M267892</link>
      <description>&lt;P&gt;Getting this message intermittently on queries in SAS 9.4. &amp;nbsp;SAS support was only able to say the oracle connection was lost, but we don't see anything in the Oracle logs and I'm getting it against two different Oracle databases, one 11g another 12c. &amp;nbsp;Both are 12c oracle clients. &amp;nbsp;Sometimes the program will hang, other times it completes and the data looks ok. &amp;nbsp;Anyone ever seen the message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ORACLE: Pipelined I/O thread did not timely terminate&lt;/P&gt;&lt;P&gt;ORACLE: Pipelined I/O thread terminated on 2nd attempt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2015 14:21:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/227424#M267892</guid>
      <dc:creator>bdbsas</dc:creator>
      <dc:date>2015-09-27T14:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pipelined I/O thread did not timely terminate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/227438#M267893</link>
      <description>&lt;P&gt;What sort of SAS queries are you running on Oracle? SAS SQL, SQL passthru, DATA step, SAS procedure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried running queries with SAS diagnostics switched on:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options sastrace = ',,,d' SASTRACELOC = SASLOG;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;One possible explanation might be intermittent network issues. I suggest you get your IT network folks to run a network trace on your database connections to see if they can spot anything.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2015 19:02:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/227438#M267893</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-09-27T19:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pipelined I/O thread did not timely terminate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/227547#M267894</link>
      <description>&lt;P&gt;It's happening on a variety of proc sql statements, some are very simple. &amp;nbsp;It's only happening during our heavy processing window overnight. &amp;nbsp;The database server is under a heavy load at the time. &amp;nbsp;But it's the same database server our 9.2 environment uses and doesn't produce the error.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 18:21:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/227547#M267894</guid>
      <dc:creator>bdbsas</dc:creator>
      <dc:date>2015-09-28T18:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pipelined I/O thread did not timely terminate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/227551#M267895</link>
      <description>&lt;P&gt;I suggest you try the diagnostics and also provide SAS Tech Support with this. I think a network trace might also be helpful as it may pick up the dropped connections and provide more evidence to SAS Tech Support as to where the problem lies.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 18:39:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/227551#M267895</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-09-28T18:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pipelined I/O thread did not timely terminate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/227553#M267896</link>
      <description>&lt;P&gt;Thanks. &amp;nbsp;I forgot to mention I did the trace and it didn't add anything useful, we know it's not the particular queries and there was not new information on the oracle connection. &amp;nbsp;I've asked our DBA to set up logging on the oracle client side. &amp;nbsp;And he's going to look at network. &amp;nbsp;I will also open a new Track.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 18:38:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/227553#M267896</guid>
      <dc:creator>bdbsas</dc:creator>
      <dc:date>2015-09-28T18:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pipelined I/O thread did not timely terminate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/549863#M267897</link>
      <description>&lt;P&gt;Hey Guyz,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way to produce error if such a message occur in logs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sandeep&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 08:03:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/549863#M267897</guid>
      <dc:creator>samgautam007</dc:creator>
      <dc:date>2019-04-10T08:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pipelined I/O thread did not timely terminate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/572943#M267898</link>
      <description>&lt;P&gt;I'm have got this message recently&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used the option trace referred in this post and I got this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ORACLE_1: Prepared: on connection 11 1 1562878422 no_name 0 SQL (2) 
SELECT * FROM LDC.CLIENTE_TERCERO 2 1562878422 no_name 0 SQL (2) 
  3 1562878422 no_name 0 SQL (2) 
  4 1562878422 no_name 0 SQL (2) 
ORACLE_2: Prepared: on connection 11 5 1562878422 no_name 0 SQL (2) 
SELECT * FROM LDC.CT_SEGMENTACION 6 1562878422 no_name 0 SQL (2) 
  7 1562878422 no_name 0 SQL (2) 
  8 1562878422 no_name 0 SQL (2) 
ORACLE_3: Prepared: on connection 11 9 1562878422 no_name 0 SQL (2) 
SELECT  NULL as TABLE_QUALIFIER,  t.owner as TABLE_OWNER,  t.table_name as TABLE_NAME,  t.num_rows as ROW_COUNT  FROM  all_tables t 
WHERE  t.table_name='CLIENTE_TERCERO' AND  t.owner='LDC'  10 1562878422 no_name 0 SQL (2) 
  11 1562878422 no_name 0 SQL (2) 
  12 1562878422 no_name 0 SQL (2) 
8                                                          The SAS System                              16:50 Thursday, July 11, 2019

ORACLE_4: Executed: on connection 11 13 1562878422 no_name 0 SQL (2) 
SELECT statement  ORACLE_3 14 1562878422 no_name 0 SQL (2) 
  15 1562878422 no_name 0 SQL (2) 
  16 1562878422 no_name 0 SQL (2) 
ORACLE_5: Prepared: on connection 11 17 1562878422 no_name 0 SQL (2) 
SELECT  NULL as TABLE_QUALIFIER,  t.owner as TABLE_OWNER,  t.table_name as TABLE_NAME,  t.num_rows as ROW_COUNT  FROM  all_tables t 
WHERE  t.table_name='CT_SEGMENTACION' AND  t.owner='LDC'  18 1562878422 no_name 0 SQL (2) 
  19 1562878422 no_name 0 SQL (2) 
  20 1562878422 no_name 0 SQL (2) 
ORACLE_6: Executed: on connection 11 21 1562878422 no_name 0 SQL (2) 
SELECT statement  ORACLE_5 22 1562878422 no_name 0 SQL (2) 
  23 1562878422 no_name 0 SQL (2) 
  24 1562878422 no_name 0 SQL (2) 
ORACLE_7: Prepared: on connection 11 25 1562878422 no_name 0 SQL (2) 
SELECT  "TIPOIDENT", "IDENT", "SEGMENTACION", "IDCLIENTE" FROM LDC.CLIENTE_TERCERO  WHERE  ( ("TIPOIDENT" NOT  IN  ( 'I' , 'J' ) ) 
) 26 1562878422 no_name 0 SQL (2) 
  27 1562878422 no_name 0 SQL (2) 
  28 1562878422 no_name 0 SQL (2) 
ORACLE_8: Executed: on connection 11 29 1562878422 no_name 0 SQL (2) 
SELECT statement  ORACLE_7 30 1562878422 no_name 0 SQL (2) 
  31 1562878422 no_name 0 SQL (2) 
  32 1562878422 no_name 0 SQL (2) 
ORACLE_9: Prepared: on connection 11 33 1562878422 no_name 0 SQL (2) 
SELECT  "DESCSEGMENTACION", "CODSEGMENTACION" FROM LDC.CT_SEGMENTACION  34 1562878422 no_name 0 SQL (2) 
  35 1562878422 no_name 0 SQL (2) 
  36 1562878422 no_name 0 SQL (2) 
ORACLE_10: Executed: on connection 11 37 1562878422 no_name 0 SQL (2) 
SELECT statement  ORACLE_9 38 1562878422 no_name 0 SQL (2) 
  39 1562878422 no_name 0 SQL (2) 
ORACLE: Pipelined I/O thread did not timely terminate

ORACLE: Pipelined I/O thread terminated on 2nd attempt

  40 1562878424 no_name 0 SQL (2) 
ORACLE_11: Prepared: on connection 11 41 1562878424 no_name 0 SQL (2) 
SELECT  "TIPOIDENT", "IDENT", "SEGMENTACION", "IDCLIENTE" FROM LDC.CLIENTE_TERCERO  WHERE  ( ( ("TIPOIDENT" NOT  IN  ( 'I' , 'J' ) 
) ) AND  ( ("SEGMENTACION" IN  ( '00' , '01' , '02' , '03' , '04' , '05' , '06' , '11' , '13' , '15' , '17' , '50' , '51' , '52' , 
'53' , '54' , '55' , '56' , '88' , '99' ) ) ) ) 42 1562878424 no_name 0 SQL (2) 
  43 1562878424 no_name 0 SQL (2) 
  44 1562878424 no_name 0 SQL (2) 
ORACLE_12: Executed: on connection 11 45 1562878424 no_name 0 SQL (2) 
SELECT statement  ORACLE_11 46 1562878424 no_name 0 SQL (2) 
  47 1562878424 no_name 0 SQL (2)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 21:01:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/572943#M267898</guid>
      <dc:creator>osmelbrito</dc:creator>
      <dc:date>2019-07-11T21:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pipelined I/O thread did not timely terminate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/580057#M267899</link>
      <description>&lt;P&gt;Old thread, but since there was no solution, and since I could fix this when it happened to me, here is my take.&lt;/P&gt;
&lt;P&gt;My query looked like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql outobs=1 ;
&amp;nbsp; connect using ORALIB;
&amp;nbsp; select&amp;nbsp;*&amp;nbsp;from&amp;nbsp;connection&amp;nbsp;to&amp;nbsp;ORALIB&amp;nbsp;(&amp;nbsp;...&amp;nbsp;);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The log displayed:&lt;/P&gt;
&lt;PRE&gt;ORACLE_326: Prepared: on connection 0
select * from TABLE 
 
ORACLE_327: Executed: on connection 0
SELECT statement  ORACLE_326
 
WARNING: Statement terminated early due to OUTOBS=1 option.
ORACLE: Pipelined I/O thread did not timely terminate

ORACLE: Pipelined I/O thread terminated on 2nd attempt
&lt;/PRE&gt;
&lt;P&gt;Because I used both&lt;/P&gt;
&lt;P&gt;- the OUTOBS= option&lt;/P&gt;
&lt;P&gt;- SQL pass-through&lt;/P&gt;
&lt;P&gt;the connection to oracle seems to get interrupted and Oracle complains.&lt;/P&gt;
&lt;P&gt;Only when these 2 features are used does the message appear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Replacing the OUTOBS= option with a filter on ROWNUM in the Oracle where clause removed the Oracle messages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 03:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pipelined-I-O-thread-did-not-timely-terminate/m-p/580057#M267899</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-08-09T03:44:24Z</dc:date>
    </item>
  </channel>
</rss>

