<?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: Failed to load cas in memory data to teradata db in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-load-cas-in-memory-data-to-teradata-db/m-p/622093#M514</link>
    <description>&lt;P&gt;Thanks for your response. Please find the detail log below. Actually i want to move and save cas data (carsWght.sas7hdat) to teradata databse as carsWght_1.is there any other way to load??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log Details:&lt;/P&gt;&lt;P&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;75&lt;BR /&gt;76 cas;&lt;BR /&gt;NOTE: The session CASAUTO connected successfully to Cloud Analytic Services sasviya.wb.com using port 5570. The UUID is&lt;BR /&gt;2d1978d4-66cb-ea4c-9667-faba5a9b9dfc. The user is XBSEN and the active caslib is CASUSER(XBSEN).&lt;BR /&gt;NOTE: The SAS option SESSREF was updated with the value CASAUTO.&lt;BR /&gt;NOTE: The SAS macro _SESSREF_ was updated with the value CASAUTO.&lt;BR /&gt;NOTE: The session is using 0 workers.&lt;BR /&gt;77 libname mycas cas caslib=casuser;&lt;BR /&gt;NOTE: Libref MYCAS was successfully assigned as follows:&lt;BR /&gt;Engine: CAS&lt;BR /&gt;Physical Name: 2d1978d4-66cb-ea4c-9667-faba5a9b9dfc&lt;BR /&gt;78 data mycas.carsWght;&lt;BR /&gt;79 set sashelp.cars;&lt;BR /&gt;80 if weight&amp;lt;5500 then delete;&lt;BR /&gt;81 keep make model type weight MPG_City;&lt;BR /&gt;82 run;&lt;BR /&gt;NOTE: There were 428 observations read from the data set SASHELP.CARS.&lt;BR /&gt;NOTE: The data set MYCAS.CARSWGHT has 7 observations and 5 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;BR /&gt;83 options msglevel=i;&lt;BR /&gt;84 caslib tdlib&lt;BR /&gt;85 datasource=(srctype='teradata'&lt;BR /&gt;86 dataTransferMode='serial'&lt;BR /&gt;87 server='AWSTEST'&lt;BR /&gt;88 username='sasBI'&lt;BR /&gt;89 password=XXXXXXXXXXXXXXX&lt;BR /&gt;90 database='BIM');&lt;BR /&gt;NOTE: 'TDLIB' is now the active caslib.&lt;BR /&gt;NOTE: Cloud Analytic Services added the caslib 'TDLIB'.&lt;BR /&gt;NOTE: Action to ADD caslib TDLIB completed for session CASAUTO.&lt;BR /&gt;91 run;&lt;BR /&gt;92 proc casutil;&lt;BR /&gt;NOTE: The UUID '2d1978d4-66cb-ea4c-9667-faba5a9b9dfc' is connected using session CASAUTO.&lt;BR /&gt;93 list tables incaslib="casuser";&lt;BR /&gt;Caslib Information&lt;BR /&gt;Library CASUSER(XBSEN)&lt;BR /&gt;Source Type PATH&lt;BR /&gt;Description Personal File System Caslib&lt;BR /&gt;Path /opt/sas/viya/config/data/cas/default/casuserlibraries/xbsen/&lt;BR /&gt;Session local No&lt;BR /&gt;Active No&lt;BR /&gt;Personal Yes&lt;BR /&gt;Hidden No&lt;BR /&gt;Transient Yes&lt;BR /&gt;Table Information for Caslib CASUSER(XBSEN)&lt;BR /&gt;Table Number Number Indexed NLS Promoted Repeated&lt;BR /&gt;Name of Rows of Columns Columns encoding Created Last Modified Table Table&lt;BR /&gt;CARSWGHT 7 5 0 utf-8 2020-02-03T05:36:30-08:00 2020-02-03T05:36:30-08:00 No No&lt;BR /&gt;Table Information for Caslib CASUSER(XBSEN)&lt;BR /&gt;Table&lt;BR /&gt;Name View Compressed&lt;BR /&gt;CARSWGHT No No&lt;BR /&gt;NOTE: Cloud Analytic Services processed the combined requests in 0.001205 seconds.&lt;BR /&gt;94 load casdata="carsWght" incaslib="casuser" outcaslib="tdlib" casout="carsWght_1";&lt;BR /&gt;ERROR: The file or path 'carsWght' is not available in the file system.&lt;BR /&gt;ERROR: The action stopped due to errors.&lt;BR /&gt;NOTE: The Cloud Analytic Services server processed the request in 0.000541 seconds.&lt;BR /&gt;95 list tables incaslib="tdlib";&lt;BR /&gt;Caslib Information&lt;BR /&gt;Library TDLIB&lt;BR /&gt;Source Type teradata&lt;BR /&gt;DataTransferMode Serial&lt;BR /&gt;Session local Yes&lt;BR /&gt;Active Yes&lt;BR /&gt;Personal No&lt;BR /&gt;Hidden No&lt;BR /&gt;Transient No&lt;BR /&gt;Uid sasetl&lt;BR /&gt;Server AWSTEST&lt;BR /&gt;Database BIM&lt;BR /&gt;NOTE: No tables are available in caslib TDLIB of Cloud Analytic Services.&lt;BR /&gt;NOTE: Cloud Analytic Services processed the combined requests in 0.000776 seconds.&lt;BR /&gt;96 quit;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE CASUTIL used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.04 seconds&lt;BR /&gt;97 libname mytdlb cas caslib=tdlib;&lt;BR /&gt;NOTE: Libref MYTDLB was successfully assigned as follows:&lt;BR /&gt;Engine: CAS&lt;BR /&gt;Physical Name: 2d1978d4-66cb-ea4c-9667-faba5a9b9dfc&lt;BR /&gt;98 proc print data=mytdlb.carsWght_1(obs=10);&lt;BR /&gt;NOTE: The table MYTDLB.CARSWGHT_1 does not exist in Cloud Analytic Services.&lt;BR /&gt;ERROR: File MYTDLB.CARSWGHT_1.DATA does not exist.&lt;BR /&gt;99 run;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;BR /&gt;100&lt;BR /&gt;101 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;114&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bimal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bimal&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2020 01:45:16 GMT</pubDate>
    <dc:creator>bimal_sen</dc:creator>
    <dc:date>2020-02-04T01:45:16Z</dc:date>
    <item>
      <title>Failed to load cas in memory data to teradata db</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-load-cas-in-memory-data-to-teradata-db/m-p/621722#M512</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;We have SAS Viya license. SAS® Studio (5.1), SAS® Viya® release:V.03.04.I failed to load cas in memory data to teradata db. But the reverse case load data from teradata db to cas in memory successfully. But i can successfully load data to Teradata db using SAS 9.4 libname or proc sql successfully.&lt;/P&gt;&lt;P&gt;Please suggest. Please find my code below.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------------------------------Load teradata db to cas in memory------------------Successful----------------------------------------------------------&lt;BR /&gt;cas;&lt;BR /&gt;caslib tdlib&lt;BR /&gt;datasource=(srctype='teradata' dataTransferMode='serial' server='AWSTEST'&lt;BR /&gt;username='sasbi' password='sasbi' database='BIM');&lt;BR /&gt;run;&lt;BR /&gt;caslib _all_ list;&lt;BR /&gt;proc casutil;&lt;BR /&gt;list tables incaslib="casuser";&lt;BR /&gt;load casdata="price_dates" incaslib="tdlib" outcaslib="casuser" casout="price_dates_1";&lt;BR /&gt;list tables incaslib="casuser";&lt;BR /&gt;quit;&lt;BR /&gt;libname pp cas caslib=casuser;&lt;BR /&gt;proc print data =pp.price_dates_1(obs=10);&lt;BR /&gt;run;&lt;BR /&gt;---------------------------------Load cas in memory data to teradata db--------------------Failed-------------------------------------------------------&lt;BR /&gt;cas;&lt;BR /&gt;libname mycas cas caslib=casuser;&lt;BR /&gt;data mycas.carsWght;&lt;BR /&gt;set sashelp.cars;&lt;BR /&gt;if weight&amp;lt;5500 then delete;&lt;BR /&gt;keep make model type weight MPG_City;&lt;BR /&gt;run;&lt;BR /&gt;options msglevel=i;&lt;BR /&gt;caslib tdlib&lt;BR /&gt;datasource=(srctype='teradata' dataTransferMode='serial' server='AWSTEST'&lt;BR /&gt;username='sasbi' password='sasbi' database='BIM');&lt;BR /&gt;run;&lt;BR /&gt;proc casutil;&lt;BR /&gt;list tables incaslib="casuser";&lt;BR /&gt;load casdata="carsWght" incaslib="casuser" outcaslib="tdlib" casout="carsWght_1";&lt;BR /&gt;list tables incaslib="tdlib";&lt;BR /&gt;quit;&lt;BR /&gt;libname mytdlb cas caslib=tdlib;&lt;BR /&gt;proc print data=mytdlb.carsWght_1(obs=10);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Bimal&lt;/P&gt;</description>
      <pubDate>Sun, 02 Feb 2020 02:40:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-load-cas-in-memory-data-to-teradata-db/m-p/621722#M512</guid>
      <dc:creator>bimal_sen</dc:creator>
      <dc:date>2020-02-02T02:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to load cas in memory data to teradata db</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-load-cas-in-memory-data-to-teradata-db/m-p/621908#M513</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/20951"&gt;@bimal_sen&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to see your SAS log with an error. It's very hard to understand the problem without seeing an error.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 12:04:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-load-cas-in-memory-data-to-teradata-db/m-p/621908#M513</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-02-03T12:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to load cas in memory data to teradata db</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Failed-to-load-cas-in-memory-data-to-teradata-db/m-p/622093#M514</link>
      <description>&lt;P&gt;Thanks for your response. Please find the detail log below. Actually i want to move and save cas data (carsWght.sas7hdat) to teradata databse as carsWght_1.is there any other way to load??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log Details:&lt;/P&gt;&lt;P&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;75&lt;BR /&gt;76 cas;&lt;BR /&gt;NOTE: The session CASAUTO connected successfully to Cloud Analytic Services sasviya.wb.com using port 5570. The UUID is&lt;BR /&gt;2d1978d4-66cb-ea4c-9667-faba5a9b9dfc. The user is XBSEN and the active caslib is CASUSER(XBSEN).&lt;BR /&gt;NOTE: The SAS option SESSREF was updated with the value CASAUTO.&lt;BR /&gt;NOTE: The SAS macro _SESSREF_ was updated with the value CASAUTO.&lt;BR /&gt;NOTE: The session is using 0 workers.&lt;BR /&gt;77 libname mycas cas caslib=casuser;&lt;BR /&gt;NOTE: Libref MYCAS was successfully assigned as follows:&lt;BR /&gt;Engine: CAS&lt;BR /&gt;Physical Name: 2d1978d4-66cb-ea4c-9667-faba5a9b9dfc&lt;BR /&gt;78 data mycas.carsWght;&lt;BR /&gt;79 set sashelp.cars;&lt;BR /&gt;80 if weight&amp;lt;5500 then delete;&lt;BR /&gt;81 keep make model type weight MPG_City;&lt;BR /&gt;82 run;&lt;BR /&gt;NOTE: There were 428 observations read from the data set SASHELP.CARS.&lt;BR /&gt;NOTE: The data set MYCAS.CARSWGHT has 7 observations and 5 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;BR /&gt;83 options msglevel=i;&lt;BR /&gt;84 caslib tdlib&lt;BR /&gt;85 datasource=(srctype='teradata'&lt;BR /&gt;86 dataTransferMode='serial'&lt;BR /&gt;87 server='AWSTEST'&lt;BR /&gt;88 username='sasBI'&lt;BR /&gt;89 password=XXXXXXXXXXXXXXX&lt;BR /&gt;90 database='BIM');&lt;BR /&gt;NOTE: 'TDLIB' is now the active caslib.&lt;BR /&gt;NOTE: Cloud Analytic Services added the caslib 'TDLIB'.&lt;BR /&gt;NOTE: Action to ADD caslib TDLIB completed for session CASAUTO.&lt;BR /&gt;91 run;&lt;BR /&gt;92 proc casutil;&lt;BR /&gt;NOTE: The UUID '2d1978d4-66cb-ea4c-9667-faba5a9b9dfc' is connected using session CASAUTO.&lt;BR /&gt;93 list tables incaslib="casuser";&lt;BR /&gt;Caslib Information&lt;BR /&gt;Library CASUSER(XBSEN)&lt;BR /&gt;Source Type PATH&lt;BR /&gt;Description Personal File System Caslib&lt;BR /&gt;Path /opt/sas/viya/config/data/cas/default/casuserlibraries/xbsen/&lt;BR /&gt;Session local No&lt;BR /&gt;Active No&lt;BR /&gt;Personal Yes&lt;BR /&gt;Hidden No&lt;BR /&gt;Transient Yes&lt;BR /&gt;Table Information for Caslib CASUSER(XBSEN)&lt;BR /&gt;Table Number Number Indexed NLS Promoted Repeated&lt;BR /&gt;Name of Rows of Columns Columns encoding Created Last Modified Table Table&lt;BR /&gt;CARSWGHT 7 5 0 utf-8 2020-02-03T05:36:30-08:00 2020-02-03T05:36:30-08:00 No No&lt;BR /&gt;Table Information for Caslib CASUSER(XBSEN)&lt;BR /&gt;Table&lt;BR /&gt;Name View Compressed&lt;BR /&gt;CARSWGHT No No&lt;BR /&gt;NOTE: Cloud Analytic Services processed the combined requests in 0.001205 seconds.&lt;BR /&gt;94 load casdata="carsWght" incaslib="casuser" outcaslib="tdlib" casout="carsWght_1";&lt;BR /&gt;ERROR: The file or path 'carsWght' is not available in the file system.&lt;BR /&gt;ERROR: The action stopped due to errors.&lt;BR /&gt;NOTE: The Cloud Analytic Services server processed the request in 0.000541 seconds.&lt;BR /&gt;95 list tables incaslib="tdlib";&lt;BR /&gt;Caslib Information&lt;BR /&gt;Library TDLIB&lt;BR /&gt;Source Type teradata&lt;BR /&gt;DataTransferMode Serial&lt;BR /&gt;Session local Yes&lt;BR /&gt;Active Yes&lt;BR /&gt;Personal No&lt;BR /&gt;Hidden No&lt;BR /&gt;Transient No&lt;BR /&gt;Uid sasetl&lt;BR /&gt;Server AWSTEST&lt;BR /&gt;Database BIM&lt;BR /&gt;NOTE: No tables are available in caslib TDLIB of Cloud Analytic Services.&lt;BR /&gt;NOTE: Cloud Analytic Services processed the combined requests in 0.000776 seconds.&lt;BR /&gt;96 quit;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE CASUTIL used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.04 seconds&lt;BR /&gt;97 libname mytdlb cas caslib=tdlib;&lt;BR /&gt;NOTE: Libref MYTDLB was successfully assigned as follows:&lt;BR /&gt;Engine: CAS&lt;BR /&gt;Physical Name: 2d1978d4-66cb-ea4c-9667-faba5a9b9dfc&lt;BR /&gt;98 proc print data=mytdlb.carsWght_1(obs=10);&lt;BR /&gt;NOTE: The table MYTDLB.CARSWGHT_1 does not exist in Cloud Analytic Services.&lt;BR /&gt;ERROR: File MYTDLB.CARSWGHT_1.DATA does not exist.&lt;BR /&gt;99 run;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;BR /&gt;100&lt;BR /&gt;101 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;114&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bimal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bimal&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 01:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Failed-to-load-cas-in-memory-data-to-teradata-db/m-p/622093#M514</guid>
      <dc:creator>bimal_sen</dc:creator>
      <dc:date>2020-02-04T01:45:16Z</dc:date>
    </item>
  </channel>
</rss>

