<?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: Impulse Response: Saving output in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Impulse-Response-Saving-output/m-p/633334#M77873</link>
    <description>&lt;P&gt;What type of output file?&lt;/P&gt;
&lt;P&gt;Do you want results in a data set or items in the results window?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can direct results to output files by using the appropriate ODS &amp;lt;destination&amp;gt; syntax around a procedure or group of procedures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ods rtf file="&amp;lt;Drive and path&amp;gt;\filename.rtf";

proc print data=sashelp.class;
run;

ods rtf close;&lt;/LI-CODE&gt;
&lt;P&gt;The above code would send the output to an RTF file using windows syntax.&amp;nbsp;RTF and PDF have different default&amp;nbsp;ODS styles than the results window usually and you may want to specify the STYLE option to get same appearance. The exact syntax for the file is obviously going to vary&amp;nbsp;between operating systems and your set up. The output file needs the &amp;nbsp;close to finish.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2020 16:01:25 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-03-19T16:01:25Z</dc:date>
    <item>
      <title>Impulse Response: Saving output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Impulse-Response-Saving-output/m-p/633193#M77860</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I'm using proc VARMAX&amp;nbsp; and got the results of&amp;nbsp; impulse responses.&amp;nbsp; &amp;nbsp;I'd like to know how can I save this estimates in an output file.&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 10:01:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Impulse-Response-Saving-output/m-p/633193#M77860</guid>
      <dc:creator>Golf</dc:creator>
      <dc:date>2020-03-19T10:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Impulse Response: Saving output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Impulse-Response-Saving-output/m-p/633334#M77873</link>
      <description>&lt;P&gt;What type of output file?&lt;/P&gt;
&lt;P&gt;Do you want results in a data set or items in the results window?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can direct results to output files by using the appropriate ODS &amp;lt;destination&amp;gt; syntax around a procedure or group of procedures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ods rtf file="&amp;lt;Drive and path&amp;gt;\filename.rtf";

proc print data=sashelp.class;
run;

ods rtf close;&lt;/LI-CODE&gt;
&lt;P&gt;The above code would send the output to an RTF file using windows syntax.&amp;nbsp;RTF and PDF have different default&amp;nbsp;ODS styles than the results window usually and you may want to specify the STYLE option to get same appearance. The exact syntax for the file is obviously going to vary&amp;nbsp;between operating systems and your set up. The output file needs the &amp;nbsp;close to finish.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 16:01:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Impulse-Response-Saving-output/m-p/633334#M77873</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-03-19T16:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Impulse Response: Saving output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Impulse-Response-Saving-output/m-p/633476#M77889</link>
      <description>&lt;P&gt;Dear ballardw,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thank you for you helps. I have tried to follow you suggestions.&amp;nbsp; At first, I ran this procedure.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 577px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37067i5F9965F9F41FB934/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I got the impulse response outputs below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 241px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37068i0D54579020261D41/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to save impulse response from lag 1- 10 and its standard deviation of both dLM1 and dLIP in sas to calculate 1 standardized impulse response &lt;FONT color="#993300"&gt;in SAS&lt;/FONT&gt;.&amp;nbsp;&lt;FONT color="#993300"&gt; &amp;nbsp;(I plan to multiple 1 standard deviation of error obtained in VAR(1) to these impulse responses and standard deviations in SAS)&lt;/FONT&gt;.&amp;nbsp; I use the following procedure.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.PNG" style="width: 759px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37069i0CC301F131B226A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I got error message below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.PNG" style="width: 898px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37070i6BCE97823AB627EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.PNG" alt="Capture4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know what wrong in my codes.&amp;nbsp; &amp;nbsp;Can you help me out?&lt;/P&gt;&lt;P&gt;Bests,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 00:59:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Impulse-Response-Saving-output/m-p/633476#M77889</guid>
      <dc:creator>Golf</dc:creator>
      <dc:date>2020-03-20T00:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Impulse Response: Saving output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Impulse-Response-Saving-output/m-p/633744#M77911</link>
      <description>&lt;P&gt;Where did you create the data set you attempt to print?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want a data set that represents tables output by a procedure you want to use the ODS OUTPUT feature. Before or in the procedure code you place (generic example) code that looks similar to this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS OUTPUT tablecreatedbyproc = nameofdesireddataset;&lt;/P&gt;
&lt;P&gt;proc genricproc data=have &amp;lt;options&amp;gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The details of the online help for the procedure will have a section named "ODS Table Names" to get the name of the tablecreatedbyproc value above along with the options that are used to create the table.&lt;/P&gt;
&lt;P&gt;OR before you run the code you could use:&lt;/P&gt;
&lt;P&gt;ODS Trace on;&lt;/P&gt;
&lt;P&gt;&amp;lt;procedure code&amp;gt;&lt;/P&gt;
&lt;P&gt;ODS Trace off; &amp;lt;reset the status&amp;gt;&lt;/P&gt;
&lt;P&gt;The LOG will show the names of the tables created. If there is a question about which table you want you&amp;nbsp; can include the option "/ label" as part of the ODS Trace statement to get a brief description of the output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will likely want to use a data step or another procedure for the calculations you suggest you are doing.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 22:20:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Impulse-Response-Saving-output/m-p/633744#M77911</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-03-20T22:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Impulse Response: Saving output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Impulse-Response-Saving-output/m-p/633821#M77916</link>
      <description>Dear ballardw,&lt;BR /&gt;Thank you very much. From your help, I can out of the problem.&lt;BR /&gt;Best,</description>
      <pubDate>Sat, 21 Mar 2020 14:37:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Impulse-Response-Saving-output/m-p/633821#M77916</guid>
      <dc:creator>Golf</dc:creator>
      <dc:date>2020-03-21T14:37:44Z</dc:date>
    </item>
  </channel>
</rss>

