<?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 Issue with loading data from SAS into postgres database (SAS data integration studio) in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-loading-data-from-SAS-into-postgres-database-SAS-data/m-p/706887#M21045</link>
    <description>&lt;P&gt;We are trying to load data from SAS to postgres database by running jobs in SAS Data Integration Studio (4.9).&lt;/P&gt;&lt;P&gt;We are getting the following error at the table loader.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: CLI execute error: ERROR: current transaction is aborted, commands ignored until end of transaction block; Error while preparing parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tables are being created in the Database but no data is being inserted into the tables.&lt;/P&gt;&lt;P&gt;Can you please guide us on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help on this.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 06:27:21 GMT</pubDate>
    <dc:creator>suryat</dc:creator>
    <dc:date>2020-12-18T06:27:21Z</dc:date>
    <item>
      <title>Issue with loading data from SAS into postgres database (SAS data integration studio)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-loading-data-from-SAS-into-postgres-database-SAS-data/m-p/706887#M21045</link>
      <description>&lt;P&gt;We are trying to load data from SAS to postgres database by running jobs in SAS Data Integration Studio (4.9).&lt;/P&gt;&lt;P&gt;We are getting the following error at the table loader.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: CLI execute error: ERROR: current transaction is aborted, commands ignored until end of transaction block; Error while preparing parameters&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tables are being created in the Database but no data is being inserted into the tables.&lt;/P&gt;&lt;P&gt;Can you please guide us on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help on this.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 06:27:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-loading-data-from-SAS-into-postgres-database-SAS-data/m-p/706887#M21045</guid>
      <dc:creator>suryat</dc:creator>
      <dc:date>2020-12-18T06:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with loading data from SAS into postgres database (SAS data integration studio)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-loading-data-from-SAS-into-postgres-database-SAS-data/m-p/706914#M21048</link>
      <description>&lt;P&gt;What libname options have you used?&lt;/P&gt;
&lt;P&gt;If you set&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options msglevel=i sastrace=',,,d' sastraceloc=saslog nostsuffix;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you'll may get more informaiton in the log, perhqaps at least what SQl SAS is pushing down.&lt;/P&gt;
&lt;P&gt;A quick Google geave me hint on that this might be work aroundable bgy using autocommit.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/10399727/psqlexception-current-transaction-is-aborted-commands-ignored-until-end-of-tra" target="_blank"&gt;https://stackoverflow.com/questions/10399727/psqlexception-current-transaction-is-aborted-commands-ignored-until-end-of-tra&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 09:51:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-loading-data-from-SAS-into-postgres-database-SAS-data/m-p/706914#M21048</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2020-12-18T09:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with loading data from SAS into postgres database (SAS data integration studio)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-loading-data-from-SAS-into-postgres-database-SAS-data/m-p/707140#M21053</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have tried shared option but we are not able to trace out the exact error.&lt;/P&gt;&lt;P&gt;I am sharing my both environment (UAT &amp;amp; Production) logs, if you able to explain or identify issue then pls help us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for production error:&lt;/P&gt;&lt;P&gt;POSTGRES_4: Prepared: on connection 1&lt;BR /&gt;SELECT * FROM "datamart".DM_GSTR9_TBL_TAX_PAID WHERE 0=1&lt;BR /&gt;&lt;BR /&gt;POSTGRES: AUTOCOMMIT is NO for connection 2&lt;BR /&gt;NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.&lt;BR /&gt;&lt;BR /&gt;POSTGRES_5: Executed: on connection 2&lt;BR /&gt;CREATE TABLE "datamart".DM_GSTR9_TBL_TAX_PAID ("called_dt" VARCHAR(10),"fil_dt" VARCHAR(10),"gstin" VARCHAR(15),"fp"&lt;BR /&gt;VARCHAR(6),"isnil" VARCHAR(1),"txpaid_igst" DOUBLE PRECISION,"txpyble_igst" DOUBLE PRECISION,"txpaid_cgst" DOUBLE&lt;BR /&gt;PRECISION,"txpyble_cgst" DOUBLE PRECISION,"txpaid_sgst" DOUBLE PRECISION,"txpyble_sgst" DOUBLE PRECISION,"txpaid_cess" DOUBLE&lt;BR /&gt;PRECISION,"txpyble_cess" DOUBLE PRECISION,"txpaid_intr" DOUBLE PRECISION,"txpyble_intr" DOUBLE PRECISION)&lt;BR /&gt;&lt;BR /&gt;POSTGRES: 0 row(s) affected by INSERT/UPDATE/DELETE or other statement.&lt;BR /&gt;POSTGRES: COMMIT performed on connection 2.&lt;BR /&gt;POSTGRES: COMMIT performed on connection 2.&lt;BR /&gt;NOTE: The data set DWH.DM_GSTR9_TBL_TAX_PAID has 0 observations and 15 variables.&lt;BR /&gt;POSTGRES: COMMIT performed on connection 2.&lt;BR /&gt;POSTGRES: COMMIT performed on connection 2.&lt;BR /&gt;NOTE: PROCEDURE| _DISARM| STOP| _DISARM| 2020-12-19T13:52:20,547+05:1800| _DISARM| WorkspaceServer| _DISARM| SAS| _DISARM|&lt;BR /&gt;| _DISARM| 132886528| _DISARM| 20090880| _DISARM| 11| _DISARM| 24| _DISARM| 0| _DISARM| 809888| _DISARM| 0.010000| _DISARM|&lt;BR /&gt;0.055709| _DISARM| 1923985340.491702| _DISARM| 1923985340.547411| _DISARM| 0.000000| _DISARM| | _ENDDISARM&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.05 seconds&lt;BR /&gt;cpu time 0.02 seconds&lt;/P&gt;&lt;P&gt;MPRINT(ETLS_LOADER): ;&lt;BR /&gt;NOTE: Appending data ...&lt;BR /&gt;&lt;BR /&gt;POSTGRES_6: Prepared: on connection 1&lt;BR /&gt;90 The SAS System Saturday 19 December 2020 01:16:00 PM&lt;/P&gt;&lt;P&gt;SELECT * FROM "datamart".DM_GSTR9_TBL_TAX_PAID WHERE 0=1&lt;BR /&gt;&lt;BR /&gt;POSTGRES: AUTOCOMMIT is NO for connection 2&lt;BR /&gt;POSTGRES: COMMIT performed on connection 2.&lt;BR /&gt;&lt;BR /&gt;POSTGRES_7: Prepared: on connection 2&lt;BR /&gt;SELECT * FROM "datamart".DM_GSTR9_TBL_TAX_PAID&lt;BR /&gt;&lt;BR /&gt;MPRINT(ETLS_LOADER): proc append base = DWH.dm_gstr9_tbl_tax_paid data = WORK.W7K8BK8S () force ;&lt;BR /&gt;MPRINT(ETLS_LOADER): run;&lt;/P&gt;&lt;P&gt;NOTE: Appending WORK.W7K8BK8S to DWH.DM_GSTR9_TBL_TAX_PAID.&lt;BR /&gt;NOTE: SAS threaded sort was used.&lt;BR /&gt;&lt;BR /&gt;POSTGRES_8: Prepared: on connection 2&lt;BR /&gt;INSERT INTO "datamart".DM_GSTR9_TBL_TAX_PAID&lt;BR /&gt;("called_dt","fil_dt","gstin","fp","isnil","txpaid_igst","txpyble_igst","txpaid_cgst","txpyble_cgst","txpaid_sgst","txpyble_sgst","t&lt;BR /&gt;xpaid_cess","txpyble_cess","txpaid_intr","txpyble_intr") VALUES ( ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;POSTGRES_9: Executed: on connection 2&lt;BR /&gt;Prepared statement POSTGRES_8&lt;BR /&gt;&lt;BR /&gt;POSTGRES: ROLLBACK performed on connection 2.&lt;BR /&gt;NOTE: There were 20000 observations read from the data set WORK.W7K8BK8S.&lt;BR /&gt;NOTE: View WORK.W7JXE9GV.VIEW used (Total process time):&lt;BR /&gt;real time 1.62 seconds&lt;BR /&gt;cpu time 2.52 seconds&lt;BR /&gt;&lt;BR /&gt;NOTE: There were 185332 observations read from the data set S_GSTR9.STG_GSTR9_TBL_TABLE14_CAMT.&lt;BR /&gt;NOTE: There were 185332 observations read from the data set WORK.W3Z7RQCW.&lt;BR /&gt;NOTE: There were 184909 observations read from the data set S_GSTR9.STG_GSTR9_TBL_TABLE14_CSAMT.&lt;BR /&gt;NOTE: There were 184909 observations read from the data set WORK.W3Z7RQCZ.&lt;BR /&gt;NOTE: There were 185331 observations read from the data set S_GSTR9.STG_GSTR9_TBL_TABLE14_SAMT.&lt;BR /&gt;NOTE: There were 185331 observations read from the data set WORK.W3Z7RQD1.&lt;BR /&gt;NOTE: There were 185164 observations read from the data set S_GSTR9.STG_GSTR9_TBL_TABLE14_IAMT.&lt;BR /&gt;NOTE: There were 185164 observations read from the data set WORK.W3Z7RQD2.&lt;BR /&gt;NOTE: There were 183464 observations read from the data set S_GSTR9.STG_GSTR9_TBL_TABLE14_INTR.&lt;BR /&gt;NOTE: There were 183464 observations read from the data set WORK.W3Z7RQD4.&lt;BR /&gt;NOTE: 19999 observations added.&lt;BR /&gt;NOTE: The data set DWH.DM_GSTR9_TBL_TAX_PAID has . observations and 15 variables.&lt;BR /&gt;POSTGRES: COMMIT performed on connection 2.&lt;BR /&gt;POSTGRES: COMMIT performed on connection 2.&lt;BR /&gt;ERROR: CLI execute error: ERROR: current transaction is aborted, commands ignored until end of transaction block;&lt;BR /&gt;preparing parameters&lt;BR /&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE APPEND used (Total process time):&lt;BR /&gt;real time 1.73 seconds&lt;BR /&gt;cpu time 2.55 seconds&lt;BR /&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE| _DISARM| STOP| _DISARM| 2020-12-19T13:52:22,288+05:1800| _DISARM| WorkspaceServer| _DISARM| SAS| _DISARM|&lt;BR /&gt;| _DISARM| 132886528| _DISARM| 20877312| _DISARM| 11| _DISARM| 24| _DISARM| 268816| _DISARM| 1078704| _DISARM| 2.550000|&lt;BR /&gt;_DISARM| 1.739518| _DISARM| 1923985340.549101| _DISARM| 1923985342.288619| _DISARM| 2.070000| _DISARM| | _ENDDISARM&lt;BR /&gt;MPRINT(ETLS_LOADER): ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 08:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Issue-with-loading-data-from-SAS-into-postgres-database-SAS-data/m-p/707140#M21053</guid>
      <dc:creator>suryat</dc:creator>
      <dc:date>2020-12-19T08:33:34Z</dc:date>
    </item>
  </channel>
</rss>

