<?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: Macro Psplinet not resolving; please help in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-Psplinet-not-resolving-please-help/m-p/847146#M334940</link>
    <description>&lt;P&gt;There are multiple macro definitions in that file.&amp;nbsp; I would compile all of them.&amp;nbsp; Probably the easiest thing to do would be to paste all the code from that file into your program editor and submit it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately it looks like toward the end of the file there are some data _null_ steps that are not part of a macro definition that use the window statement.&amp;nbsp; You may want to delete this section that starts with:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; /****************************************************************/
 /*                                                              */
 /*    NAME: SAMSIZA.SAS                                         */
 /*   TITLE: POWER/SAMPLE SIZE CALCULATION FOR ONE WAY ANOVA     */
 /*  AUTHOR: F. Harrell                                          */
 /*    DATE: 22 July 1987                                        */
 /*    NOTE: This program cannot be run in batch mode.           */
 /*          The program requires the SECSOLVE macro.            */
 /*                                                              */
 /****************************************************************/
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But most of this file is macro definitions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is you didn't compile some of the helper macros.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 20:47:18 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2022-11-30T20:47:18Z</dc:date>
    <item>
      <title>Macro Psplinet not resolving; please help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Psplinet-not-resolving-please-help/m-p/847125#M334923</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saifulinfs_0-1669834267411.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77879iCBBABF4BC20E8425/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saifulinfs_0-1669834267411.png" alt="Saifulinfs_0-1669834267411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I run the macro after compilation it shows this error messages. Anybody with experience of using, could yo help me figure out this. This is the link of the Professor Frank Harrel's psplinet macro: &lt;A href="https://biostat.app.vumc.org/wiki/pub/Main/SasMacros/survrisk.txt" target="_blank"&gt;https://biostat.app.vumc.org/wiki/pub/Main/SasMacros/survrisk.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 18:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Psplinet-not-resolving-please-help/m-p/847125#M334923</guid>
      <dc:creator>Saifulinfs</dc:creator>
      <dc:date>2022-11-30T18:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Psplinet not resolving; please help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Psplinet-not-resolving-please-help/m-p/847131#M334928</link>
      <description>&lt;P&gt;Did you run all the code in the file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first error message shown is a call to %DSHIDE which does not resolve, suggesting the macro was not compiled. But looking in the .txt file, the definition is there.&amp;nbsp; So I would start by making sure you run all the code in the .txt file as there are multiple macros definitions in the file.&amp;nbsp; Then try again with a macro call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 19:26:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Psplinet-not-resolving-please-help/m-p/847131#M334928</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-11-30T19:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Psplinet not resolving; please help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Psplinet-not-resolving-please-help/m-p/847138#M334934</link>
      <description>Yes, i did compile all that is available starting from %macro psplinet (...).... until the end %mend. and then I ran my macro.&lt;BR /&gt;&lt;BR /&gt;Do you mean to compile all that is available even before the %macro pslinet?</description>
      <pubDate>Wed, 30 Nov 2022 20:07:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Psplinet-not-resolving-please-help/m-p/847138#M334934</guid>
      <dc:creator>Saifulinfs</dc:creator>
      <dc:date>2022-11-30T20:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Psplinet not resolving; please help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Psplinet-not-resolving-please-help/m-p/847146#M334940</link>
      <description>&lt;P&gt;There are multiple macro definitions in that file.&amp;nbsp; I would compile all of them.&amp;nbsp; Probably the easiest thing to do would be to paste all the code from that file into your program editor and submit it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately it looks like toward the end of the file there are some data _null_ steps that are not part of a macro definition that use the window statement.&amp;nbsp; You may want to delete this section that starts with:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; /****************************************************************/
 /*                                                              */
 /*    NAME: SAMSIZA.SAS                                         */
 /*   TITLE: POWER/SAMPLE SIZE CALCULATION FOR ONE WAY ANOVA     */
 /*  AUTHOR: F. Harrell                                          */
 /*    DATE: 22 July 1987                                        */
 /*    NOTE: This program cannot be run in batch mode.           */
 /*          The program requires the SECSOLVE macro.            */
 /*                                                              */
 /****************************************************************/
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But most of this file is macro definitions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is you didn't compile some of the helper macros.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 20:47:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Psplinet-not-resolving-please-help/m-p/847146#M334940</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-11-30T20:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Psplinet not resolving; please help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Psplinet-not-resolving-please-help/m-p/847167#M334949</link>
      <description>&lt;P&gt;thank you, it worked. I copied everything on the page and pasted and compiled directly in program editor.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 23:30:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Psplinet-not-resolving-please-help/m-p/847167#M334949</guid>
      <dc:creator>Saifulinfs</dc:creator>
      <dc:date>2022-11-30T23:30:34Z</dc:date>
    </item>
  </channel>
</rss>

