<?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: autosys job failed while pulling metadata person info in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/autosys-job-failed-while-pulling-metadata-person-info/m-p/552485#M16117</link>
    <description>The mesaage is quite clear IMO. &lt;BR /&gt;When you are running through EG you are already connected to the metadata server.&lt;BR /&gt;Make sure that your batch execution configuration have the necessary options set to be able to connect.</description>
    <pubDate>Fri, 19 Apr 2019 16:42:46 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2019-04-19T16:42:46Z</dc:date>
    <item>
      <title>autosys job failed while pulling metadata person info</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/autosys-job-failed-while-pulling-metadata-person-info/m-p/552473#M16116</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I ran my code in SAS EG it ran fine without any error.&lt;/P&gt;
&lt;P&gt;but when I run the same code through autosys batch .I got below error. _metpinf&amp;nbsp; is the output dataset created when we call&lt;/P&gt;
&lt;P&gt;mduextr&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;macro to pull metadata information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MPRINT(MDUEXTR):&amp;nbsp;&amp;nbsp; filename _metpinf temp lrecl=1024 ;&lt;BR /&gt;MPRINT(MDUEXTR):&amp;nbsp;&amp;nbsp; PROC METADATA header=full out=_metpinf in=_USERQRY;&lt;BR /&gt;MPRINT(MDUEXTR):&amp;nbsp;&amp;nbsp; RUN;&lt;BR /&gt;ERROR: &lt;FONT color="#ff6600"&gt;Insufficient information provided for a connection to the metadata server&lt;/FONT&gt;.&lt;BR /&gt;NOTE: PROCEDURE METADATA used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know why?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 15:55:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/autosys-job-failed-while-pulling-metadata-person-info/m-p/552473#M16116</guid>
      <dc:creator>shuchidxt_gmail_com</dc:creator>
      <dc:date>2019-04-19T15:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: autosys job failed while pulling metadata person info</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/autosys-job-failed-while-pulling-metadata-person-info/m-p/552485#M16117</link>
      <description>The mesaage is quite clear IMO. &lt;BR /&gt;When you are running through EG you are already connected to the metadata server.&lt;BR /&gt;Make sure that your batch execution configuration have the necessary options set to be able to connect.</description>
      <pubDate>Fri, 19 Apr 2019 16:42:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/autosys-job-failed-while-pulling-metadata-person-info/m-p/552485#M16117</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2019-04-19T16:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: autosys job failed while pulling metadata person info</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/autosys-job-failed-while-pulling-metadata-person-info/m-p/552635#M16118</link>
      <description>&lt;P&gt;I agree with &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;&amp;nbsp;assessment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We use this block of code when running in batch:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/* Create metadata macro variables */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;%let IOMServer&amp;nbsp; = %nrquote(SASApp);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;%let metaPort&amp;nbsp; &amp;nbsp;= %nrquote(8561);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;%let metaServer = %nrquote(yourhost.domain.com);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/* Set metadata options */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;options metaport&amp;nbsp; &amp;nbsp;= &amp;amp;metaPort&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; metaserver = "&amp;amp;metaServer";&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;options metaserver=&amp;amp;metaserver..domain.com metauser="username@saspw" metapass="encodedpassword";&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 17:27:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/autosys-job-failed-while-pulling-metadata-person-info/m-p/552635#M16118</guid>
      <dc:creator>kdebruhl</dc:creator>
      <dc:date>2019-04-20T17:27:55Z</dc:date>
    </item>
  </channel>
</rss>

