<?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: Internal Macro %MDSECDS (); in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Internal-Macro-MDSECDS/m-p/767320#M243263</link>
    <description>&lt;P&gt;These macros are supplied by SAS so Tech Support is your best option for fixing these errors.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 05:49:03 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2021-09-13T05:49:03Z</dc:date>
    <item>
      <title>Internal Macro %MDSECDS ();</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Internal-Macro-MDSECDS/m-p/767311#M243258</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks foy your suport, i tried run this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options    metaserver="server.com"
                metaport=8561
                metauser="sasadm@saspw"
                metapass="****************"
                metaprotocol=BRIDGE
                metarepository=Foundation;

libname  sasti '/tmp';
%mduextr(libref=sasti);
%mdsecds ();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ERROR: Physical file does not exist, /saswork10/SAS_workF9500000EE8D_server.com/#LN00048.
ERROR: Encountered during XMLInput parsing at or near line 1, column 1.
ERROR: The definition for the "FOLDERS" table is not well-formed or is corrupt&lt;/PRE&gt;&lt;P&gt;I attach an image of what space / saswork10 is if it exists&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="dafata39_0-1631507006102.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63529i0949522FE79C3CA0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dafata39_0-1631507006102.png" alt="dafata39_0-1631507006102.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;I read them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 04:27:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Internal-Macro-MDSECDS/m-p/767311#M243258</guid>
      <dc:creator>dafata39</dc:creator>
      <dc:date>2021-09-13T04:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Macro %MDSECDS ();</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Internal-Macro-MDSECDS/m-p/767313#M243260</link>
      <description>&lt;P&gt;I haven't the foggiest idea what those macros are supposed to do, but that error messages makes it look like the macro is trying to read from a temporary fileref, but nothing was ever written to the temporary fileref.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you use the syntax:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename XXX temp;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;SAS will define a fileref of XXX that points to a file in the WORK directory.&amp;nbsp; The name part of the file follows that #LN99999 pattern in your error message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So whatever step earlier in the macro that was supposed to write something to the file didn't. So the step that then reads from the file generates the error message you quoted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Search higher in your SAS log for the real issue.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 04:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Internal-Macro-MDSECDS/m-p/767313#M243260</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-09-13T04:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Macro %MDSECDS ();</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Internal-Macro-MDSECDS/m-p/767314#M243261</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried change work to sasti in the code but the error continues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname  sasti '/sasdataTI/reportes/';
%mduextr(libref=sasti);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;By the way, %MDSECDS Security Report Macro: Generates authorization data sets. This is the top-level macro (it calls the underlying macros and should be used on its own).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/bicdc/9.4/bisecag/n0l1mpdt430djgn1bl1c3euei85w.htm" target="_self"&gt;Documentation Link&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 05:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Internal-Macro-MDSECDS/m-p/767314#M243261</guid>
      <dc:creator>dafata39</dc:creator>
      <dc:date>2021-09-13T05:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Macro %MDSECDS ();</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Internal-Macro-MDSECDS/m-p/767315#M243262</link>
      <description>&lt;P&gt;Really the problem is being generated by the macro&amp;nbsp;%mdsecds();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options      metaserver="server.com"
	metaport=8561
	metauser="sasadm@saspw"
	metapass="************"
	metaprotocol=BRIDGE
	metarepository=Foundation;

%mdsecds();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 05:06:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Internal-Macro-MDSECDS/m-p/767315#M243262</guid>
      <dc:creator>dafata39</dc:creator>
      <dc:date>2021-09-13T05:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Macro %MDSECDS ();</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Internal-Macro-MDSECDS/m-p/767320#M243263</link>
      <description>&lt;P&gt;These macros are supplied by SAS so Tech Support is your best option for fixing these errors.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 05:49:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Internal-Macro-MDSECDS/m-p/767320#M243263</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-09-13T05:49:03Z</dc:date>
    </item>
  </channel>
</rss>

