<?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: REQEXHAUST error mesage in proc sql in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/REQEXHAUST-error-mesage-in-proc-sql/m-p/583309#M272933</link>
    <description>On balance, looks like it might be an issue with the database server (teradata), which often/ normally resolves at the server - but it passes msgs back which sas doesn't always understand.</description>
    <pubDate>Thu, 22 Aug 2019 19:25:22 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2019-08-22T19:25:22Z</dc:date>
    <item>
      <title>REQEXHAUST error mesage in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REQEXHAUST-error-mesage-in-proc-sql/m-p/343531#M272929</link>
      <description>&lt;P&gt;I am using proc sql to pull records from Teradata into a SAS data set.&amp;nbsp; Sometimes, I get this error, sometimes, I do not.&amp;nbsp; What does the following message mean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Teradata row not delivered (trget): CLI2: REQEXHAUST(307): Request data exhausted. .&lt;BR /&gt;NOTE: Compressing data set&amp;nbsp;MYTESTDATASET decreased size by 30.91 percent.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Compressed is 1817527 pages; un-compressed would require 2630728 pages.&lt;/P&gt;&lt;P&gt;ERROR: ERROR: Commit: Session forced off by PMPC or gtwglobal or security violation.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ROLLBACK has been issued (Any rows processed after the last COMMIT are lost).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a snippet of the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;connect to TERADATA (user = "XXXXXXX" password = "&amp;amp;password" server=XXXX mode=teradata);&lt;/P&gt;&lt;P&gt;create table&amp;nbsp;MYTESTDATASET as&lt;/P&gt;&lt;P&gt;select&amp;nbsp;patron_id,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,join_date format=monyy7. as membership_date&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,(case when&amp;nbsp;member_age&amp;nbsp;LE&amp;nbsp;18 then 1 else 0 end) as&amp;nbsp;youth_discount&lt;BR /&gt;from abcd.GYM_MEMBERSHIP&lt;BR /&gt;where join_date between '01jan2010'd and '30jun2010'd&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;disconnect from TERADATA;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even with the error message, a data set &lt;EM&gt;is&lt;/EM&gt; created, with approximately 1.5 billion records.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS v9.3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 22:19:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REQEXHAUST-error-mesage-in-proc-sql/m-p/343531#M272929</guid>
      <dc:creator>EmDy</dc:creator>
      <dc:date>2017-03-22T22:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: REQEXHAUST error mesage in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REQEXHAUST-error-mesage-in-proc-sql/m-p/343617#M272930</link>
      <description>&lt;P&gt;Looks to me like you best raise a SAS Tech Support track for this one.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/techsup/contact/&amp;nbsp;" target="_blank"&gt;https://support.sas.com/techsup/contact/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know how you go.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 08:41:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REQEXHAUST-error-mesage-in-proc-sql/m-p/343617#M272930</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-03-23T08:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: REQEXHAUST error mesage in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REQEXHAUST-error-mesage-in-proc-sql/m-p/343916#M272931</link>
      <description>In the code provided I don't see where the connection is used (I see only where it is made)</description>
      <pubDate>Fri, 24 Mar 2017 00:10:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REQEXHAUST-error-mesage-in-proc-sql/m-p/343916#M272931</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2017-03-24T00:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: REQEXHAUST error mesage in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REQEXHAUST-error-mesage-in-proc-sql/m-p/583032#M272932</link>
      <description>&lt;P&gt;I have the same problem, had you can solved this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i got this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 Sistema SAS martes, 20 de agosto de 2019 13:40:00&lt;/P&gt;&lt;P&gt;1 ;*';*";*/;quit;run;&lt;BR /&gt;2 OPTIONS PAGENO=MIN;&lt;BR /&gt;3 %LET _CLIENTTASKLABEL='Programa';&lt;BR /&gt;4 %LET _CLIENTPROCESSFLOWNAME='Process Flow';&lt;BR /&gt;5 %LET _CLIENTPROJECTPATH='C:\Users\eb6265\OneDrive - Cencosud\Proyectos\3952 - Forecast Ventas\Bck_forecast\Archivos&lt;BR /&gt;5 ! SAS\Alisado\Project_Suavizado.egp';&lt;BR /&gt;6 %LET _CLIENTPROJECTPATHHOST='G500603NT1529';&lt;BR /&gt;7 %LET _CLIENTPROJECTNAME='Project_Suavizado.egp';&lt;BR /&gt;8 %LET _SASPROGRAMFILE='';&lt;BR /&gt;9 %LET _SASPROGRAMFILEHOST='';&lt;BR /&gt;10&lt;BR /&gt;11 ODS _ALL_ CLOSE;&lt;BR /&gt;12 OPTIONS DEV=PNG;&lt;BR /&gt;13 GOPTIONS XPIXELS=0 YPIXELS=0;&lt;BR /&gt;14 FILENAME EGSR TEMP;&lt;BR /&gt;15 ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR&lt;BR /&gt;16 STYLE=HtmlBlue&lt;BR /&gt;17 STYLESHEET=(URL="file:///C:/Program%20Files/SASHome/SASEnterpriseGuide/7.1/Styles/HtmlBlue.css")&lt;BR /&gt;18 NOGTITLE&lt;BR /&gt;19 NOGFOOTNOTE&lt;BR /&gt;20 GPATH=&amp;amp;sasworklocation&lt;BR /&gt;21 ENCODING=UTF8&lt;BR /&gt;22 options(rolap="on")&lt;BR /&gt;23 ;&lt;BR /&gt;NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR&lt;BR /&gt;24&lt;BR /&gt;25 GOPTIONS ACCESSIBLE;&lt;BR /&gt;26&amp;nbsp;&lt;BR /&gt;27&lt;BR /&gt;28 proc sql;&lt;BR /&gt;29&lt;BR /&gt;30 /*Obtiene los datos de venta a nivel semanal desde teradata&lt;BR /&gt;31 (acumula la venta de 61 semanas) y los aloja en la tabla repo.item_qty_week_sales en SAS */&lt;BR /&gt;32&lt;BR /&gt;33 connect to teradata (user="user1@LDAP" pass=XXXXXXXXXXXXXX tdpid='10.10.10.11' mode=teradata ) ;&lt;BR /&gt;34&lt;BR /&gt;35 create table repo.item_qty_week_sales_2 as select * from connection to teradata&lt;BR /&gt;36 ( select top 100000000 * from DL_CS_BI.ITEM_QTY_WEEK_SALES&lt;BR /&gt;37 WHERE calendar_week_id&lt;BR /&gt;38 BETWEEN 201824&lt;BR /&gt;39 AND 201925&lt;BR /&gt;40 ORDER BY 1);&lt;BR /&gt;ERROR: Teradata row not delivered (trget): CLI2: REQEXHAUST(307): Request data exhausted. .&lt;/P&gt;&lt;P&gt;NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;BR /&gt;41&lt;BR /&gt;42 GOPTIONS NOACCESSIBLE;&lt;BR /&gt;43 %LET _CLIENTTASKLABEL=;&lt;BR /&gt;44 %LET _CLIENTPROCESSFLOWNAME=;&lt;BR /&gt;45 %LET _CLIENTPROJECTPATH=;&lt;BR /&gt;46 %LET _CLIENTPROJECTPATHHOST=;&lt;BR /&gt;47 %LET _CLIENTPROJECTNAME=;&lt;BR /&gt;48 %LET _SASPROGRAMFILE=;&lt;BR /&gt;49 %LET _SASPROGRAMFILEHOST=;&lt;BR /&gt;50&lt;BR /&gt;51 ;*';*";*/;quit;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDIMIENTO SQL used (Total process time):&lt;BR /&gt;2 Sistema SAS martes, 20 de agosto de 2019 13:40:00&lt;/P&gt;&lt;P&gt;real time 4:03:53.59&lt;BR /&gt;cpu time 1:12.43&lt;BR /&gt;&lt;BR /&gt;51 ! run;&lt;BR /&gt;52 ODS _ALL_ CLOSE;&lt;BR /&gt;53&lt;BR /&gt;54&lt;BR /&gt;55 QUIT; RUN;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 00:09:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REQEXHAUST-error-mesage-in-proc-sql/m-p/583032#M272932</guid>
      <dc:creator>Deyxon</dc:creator>
      <dc:date>2019-08-22T00:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: REQEXHAUST error mesage in proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REQEXHAUST-error-mesage-in-proc-sql/m-p/583309#M272933</link>
      <description>On balance, looks like it might be an issue with the database server (teradata), which often/ normally resolves at the server - but it passes msgs back which sas doesn't always understand.</description>
      <pubDate>Thu, 22 Aug 2019 19:25:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REQEXHAUST-error-mesage-in-proc-sql/m-p/583309#M272933</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2019-08-22T19:25:22Z</dc:date>
    </item>
  </channel>
</rss>

