<?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: Job de SAS Data Integration Studio - Error fetching Library in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Job-de-SAS-Data-Integration-Studio-Error-fetching-Library/m-p/846541#M20641</link>
    <description>SAS statements like LIBNAME and PROC METALIB or DATA Step statements that require connecting back to the metadata server might fail with the following errors at execution time:&lt;BR /&gt;&lt;BR /&gt;ERROR: Libname LIBREF is not assigned.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;ERROR 52-121: Invalid credentials&lt;BR /&gt;ERROR: Access denied.&lt;BR /&gt;ERROR: DBMS connection error: invalid username/password; logon denied.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;NOTE: Connecting to SAS Metadata Server produced: ERROR: Invalid credentials&lt;BR /&gt;NOTE: SAS application server not found; the local machine will be used.&lt;BR /&gt;NOTE: Connecting to SAS Metadata Server produced:&lt;BR /&gt;ERROR: Cannot locate the metadata for SAS Application Server "AppServer"&lt;BR /&gt;These errors occur when the following conditions are true:&lt;BR /&gt;&lt;BR /&gt;The SAS Data Integration Studio job contains code that sets the SAS system option METASERVER.&lt;BR /&gt;The value specified on the METASERVER system option does not match the metadata server information that was established during trusted peer initialization.&lt;BR /&gt;The METASERVER system option is not required and should not be present in job code, but it is generated in the code when the SAS Data Integration Studio job option, Enable optional metadata macro variables, is set to Yes. In prior releases of SAS Data Integration Studio, it was necessary to set the METASERVER system option (along with METAPORT). However, trusted peer connectivity has removed that need.&lt;BR /&gt;&lt;BR /&gt;The workaround for this issue is to select No for the Enable optional metadata macro variables job option in order to prevent the METASERVER system option from being set. Perform the following steps to modify the job option setting:&lt;BR /&gt;&lt;BR /&gt;Open properties on the job.&lt;BR /&gt;Click the Options tab.&lt;BR /&gt;Select No for the option Enable optional metadata macro variables.&lt;BR /&gt;Click OK to save the change.&lt;BR /&gt;image label&lt;BR /&gt;The setting of the METASERVER and METAPORT system options will be removed from code generation in a future release of the product.&lt;BR /&gt;&lt;BR /&gt;Click the Hot Fix tab in this note to access the hot fix for this issue.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rachel Gomez</description>
    <pubDate>Mon, 28 Nov 2022 06:55:59 GMT</pubDate>
    <dc:creator>RacheLGomez123</dc:creator>
    <dc:date>2022-11-28T06:55:59Z</dc:date>
    <item>
      <title>Job de SAS Data Integration Studio - Error fetching Library</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Job-de-SAS-Data-Integration-Studio-Error-fetching-Library/m-p/819191#M20385</link>
      <description>&lt;P&gt;Good afternoon dear community.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I need your support to solve the following problem&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have several SAS Data Integration Studio Jobs that read data from Oracle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When executing it does not generate an error, but when trying to open the table resulting from the EXTRACT it tells me the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ejecucion.JPG" style="width: 743px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72463iC99B28C0EADF3FC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ejecucion.JPG" alt="Ejecucion.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error.JPG" style="width: 637px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72464i95F8B5C468B0CC12/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error.JPG" alt="Error.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I try the execution again without closing the etl it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Only when opening it and running it the first time it fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 18:02:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Job-de-SAS-Data-Integration-Studio-Error-fetching-Library/m-p/819191#M20385</guid>
      <dc:creator>SAS_LuisBolivar</dc:creator>
      <dc:date>2022-06-20T18:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Job de SAS Data Integration Studio - Error fetching Library</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Job-de-SAS-Data-Integration-Studio-Error-fetching-Library/m-p/819274#M20389</link>
      <description>&lt;P&gt;I can't tell why this is happening, but I think it has to do with that Extract is by default creating a view.&lt;/P&gt;
&lt;P&gt;To do unit testing, you could switch to a target table instead, hopefully it would resolve your issue.&lt;/P&gt;
&lt;P&gt;And before checking in your job, switch back to view.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 09:57:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Job-de-SAS-Data-Integration-Studio-Error-fetching-Library/m-p/819274#M20389</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-06-21T09:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Job de SAS Data Integration Studio - Error fetching Library</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Job-de-SAS-Data-Integration-Studio-Error-fetching-Library/m-p/846541#M20641</link>
      <description>SAS statements like LIBNAME and PROC METALIB or DATA Step statements that require connecting back to the metadata server might fail with the following errors at execution time:&lt;BR /&gt;&lt;BR /&gt;ERROR: Libname LIBREF is not assigned.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;ERROR 52-121: Invalid credentials&lt;BR /&gt;ERROR: Access denied.&lt;BR /&gt;ERROR: DBMS connection error: invalid username/password; logon denied.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;NOTE: Connecting to SAS Metadata Server produced: ERROR: Invalid credentials&lt;BR /&gt;NOTE: SAS application server not found; the local machine will be used.&lt;BR /&gt;NOTE: Connecting to SAS Metadata Server produced:&lt;BR /&gt;ERROR: Cannot locate the metadata for SAS Application Server "AppServer"&lt;BR /&gt;These errors occur when the following conditions are true:&lt;BR /&gt;&lt;BR /&gt;The SAS Data Integration Studio job contains code that sets the SAS system option METASERVER.&lt;BR /&gt;The value specified on the METASERVER system option does not match the metadata server information that was established during trusted peer initialization.&lt;BR /&gt;The METASERVER system option is not required and should not be present in job code, but it is generated in the code when the SAS Data Integration Studio job option, Enable optional metadata macro variables, is set to Yes. In prior releases of SAS Data Integration Studio, it was necessary to set the METASERVER system option (along with METAPORT). However, trusted peer connectivity has removed that need.&lt;BR /&gt;&lt;BR /&gt;The workaround for this issue is to select No for the Enable optional metadata macro variables job option in order to prevent the METASERVER system option from being set. Perform the following steps to modify the job option setting:&lt;BR /&gt;&lt;BR /&gt;Open properties on the job.&lt;BR /&gt;Click the Options tab.&lt;BR /&gt;Select No for the option Enable optional metadata macro variables.&lt;BR /&gt;Click OK to save the change.&lt;BR /&gt;image label&lt;BR /&gt;The setting of the METASERVER and METAPORT system options will be removed from code generation in a future release of the product.&lt;BR /&gt;&lt;BR /&gt;Click the Hot Fix tab in this note to access the hot fix for this issue.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rachel Gomez</description>
      <pubDate>Mon, 28 Nov 2022 06:55:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Job-de-SAS-Data-Integration-Studio-Error-fetching-Library/m-p/846541#M20641</guid>
      <dc:creator>RacheLGomez123</dc:creator>
      <dc:date>2022-11-28T06:55:59Z</dc:date>
    </item>
  </channel>
</rss>

