<?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: ODS Output Issues with SAS UNIX in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281926#M16246</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; When I look in the doc for PROC MCMC, I do see the PostSummaries output object and I see the PostIntervals output object, but I also see that you need to specify the STATISTICS=Interval option in the MCMC code:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_mcmc_details109.htm&amp;nbsp;" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_mcmc_details109.htm&amp;nbsp;&lt;/A&gt; and if you research further in the doc, it says:&lt;/P&gt;
&lt;P&gt;=== === ===&lt;/P&gt;
&lt;P&gt;The "Posterior Intervals" table (ODS table name PostIntervals) contains the equal-tail and highest posterior density (HPD) interval estimates for each parameter. The default $\alpha $ value is 0.05, and you can change it to other levels by using the STATISTICS= option. The table is not displayed by default and can be requested by specifying the option STATISTICS=INTERVAL . &lt;/P&gt;
&lt;P&gt;=== === ===&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I do NOT see the STATISTICS=INTERVAL option in your code. Here's the doc on that:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_mcmc_syntax01.htm#statug.mcmc.mcmcfsummary" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_mcmc_syntax01.htm#statug.mcmc.mcmcfsummary&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
    <pubDate>Sun, 03 Jul 2016 23:26:52 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2016-07-03T23:26:52Z</dc:date>
    <item>
      <title>ODS Output Issues with SAS UNIX</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281915#M16240</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently remoting into my university's server to run SAS on the UNIX server through batch mode. I am running a simulation study and am at the part where I am analyzing my data and would like to output the analyses as a separate data set. However, when I try and do so, the output data sets are not being created. Any ideas as to what is going on? Any help is much appreciated. Below is the code I have used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*fitting a misinformed multilevel model to the 4 time point data and assuming a normal response*;
*specifying a library for the ods output to go to*;
libname output '/home/users/txbanh.AD3/output';
*importing the simulated data set*;
proc import datafile = "Four_Normal.csv" out = Four_Normal  dbms = csv;
        getnames = YES;
run;
*starting the macro to analyze the data*;
%macro MCMC;
	%let Size_List = 5|10|15|20|25|30|35|40|45|50|60|70|80|90|100;
        %let num_Size = %eval(%sysfunc(count(&amp;amp;Size_list,|))+1);

        %do i = 1 %to &amp;amp;num_Size;
        %let Size = %scan(&amp;amp;Size_list.,&amp;amp;i,|);
        %let v = %eval(&amp;amp;Size-2);

        proc mcmc data = Four_Normal  nmc = 50000 thin = 5;
                by Iter;

                where Size = &amp;amp;Size;

*here is where I specify the ods output. I am trying to create ods output for each sample size and then I concatenate them all at the end*;
                ods output PostSummaries = output.PostSummaries_&amp;amp;Size PostIntervals = output.PostIntervals_&amp;amp;Size;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 03 Jul 2016 20:02:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281915#M16240</guid>
      <dc:creator>tbanh</dc:creator>
      <dc:date>2016-07-03T20:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Issues with SAS UNIX</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281917#M16241</link>
      <description>&lt;P&gt;I don't see anything wrong with the code you've posted so your issue is somewhere else.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check your log, if you can't see it, post the log.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the following to see what macro variables resolve to in your log and code generated:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options mprint symbolgen;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 03 Jul 2016 20:25:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281917#M16241</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-03T20:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Issues with SAS UNIX</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281921#M16242</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the program, the code stops at this warning message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Output 'PostIntervals' was not created.&amp;nbsp; Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object.&amp;nbsp; For example, verify that the NOPRINT option is not used.&lt;BR /&gt;WARNING: Output 'PostSummaries' was not created.&amp;nbsp; Make sure that the output object name, label, or path is spelled corr&lt;BR /&gt;ectly. Also, verify that the appropriate procedure options are used to produce the requested output object.&amp;nbsp; For example, verify that the NOPRINT option is not used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a standard message when the output isn't being created and doesn't really give me any insight as to the problem at hand. Any ideas what's going on?&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2016 22:44:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281921#M16242</guid>
      <dc:creator>tbanh</dc:creator>
      <dc:date>2016-07-03T22:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Issues with SAS UNIX</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281922#M16243</link>
      <description>&lt;P&gt;Also, when I try this code on normal SAS (not on batch mode on UNIX server), it works. Hope this gives some insight.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2016 22:47:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281922#M16243</guid>
      <dc:creator>tbanh</dc:creator>
      <dc:date>2016-07-03T22:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Issues with SAS UNIX</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281924#M16245</link>
      <description>&lt;P&gt;Check your SAS version is the same between the two versions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assuming exact same SAS versions and same input data that shouldn't happen, so one must be different.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That error is generated when your proc doesn't generate the table for some reason. Some defaults may change between versions which is why what version you're running is important.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2016 23:01:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281924#M16245</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-03T23:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Issues with SAS UNIX</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281926#M16246</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; When I look in the doc for PROC MCMC, I do see the PostSummaries output object and I see the PostIntervals output object, but I also see that you need to specify the STATISTICS=Interval option in the MCMC code:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_mcmc_details109.htm&amp;nbsp;" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_mcmc_details109.htm&amp;nbsp;&lt;/A&gt; and if you research further in the doc, it says:&lt;/P&gt;
&lt;P&gt;=== === ===&lt;/P&gt;
&lt;P&gt;The "Posterior Intervals" table (ODS table name PostIntervals) contains the equal-tail and highest posterior density (HPD) interval estimates for each parameter. The default $\alpha $ value is 0.05, and you can change it to other levels by using the STATISTICS= option. The table is not displayed by default and can be requested by specifying the option STATISTICS=INTERVAL . &lt;/P&gt;
&lt;P&gt;=== === ===&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I do NOT see the STATISTICS=INTERVAL option in your code. Here's the doc on that:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_mcmc_syntax01.htm#statug.mcmc.mcmcfsummary" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_mcmc_syntax01.htm#statug.mcmc.mcmcfsummary&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2016 23:26:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281926#M16246</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-07-03T23:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Issues with SAS UNIX</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281929#M16247</link>
      <description>&lt;P&gt;The defaults do appear to have changed between versions. For 9.2/9.3 those tables are produced by default.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas﻿&lt;/a&gt;&amp;nbsp;they're not in SAS/Stat 14.1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My guess is this is your issue in testing versus running via batch - diff versions of SAS or SAS/Stat at the least.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 00:10:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281929#M16247</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-04T00:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Issues with SAS UNIX</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281949#M16248</link>
      <description>&lt;P&gt;In more basic terms, is ODS OUTPUT via a LIBNAME reference&amp;nbsp;a valid UNIX directory location for your ODS results&amp;nbsp;files?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, if my customers forget to include FILE= or BODY= the ODS output files end up being written to the current UNIX directory that existed when $SASROOT/sas was executed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes from EG this end up being config/Lev1/SASApp, which they don't have write access to, and therefore get an error.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 06:19:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281949#M16248</guid>
      <dc:creator>boschy</dc:creator>
      <dc:date>2016-07-04T06:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Output Issues with SAS UNIX</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281998#M16250</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The output from the ODS OUTPUT statement is a SAS dataset which can be written to WORK or to a permanent library location. ODS OUTPUT does not use a FILE= or BODY= named file. ODS OUTPUT works the same way for UNIVARIATE as for PROC MCMC. Here's some sample code that creates an output dataset using the WORK libref and then a permanent LIBREF. You will have to change the code to make PERM point to a location where you have WRITE access.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output basicmeasures=work.bsc_meas;
proc univariate data=sashelp.class;
var height;
run;
   
proc print data=work.bsc_meas;
title 'from univariate basic measures';
run;
 
  
libname perm '&amp;lt;your location&amp;gt;';
ods output testsforlocation=perm.tfloc;
proc univariate data=sashelp.class;
var age;
run;
   
proc print data=perm.tfloc;
title 'from univariate perm.tfloc';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 14:04:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Output-Issues-with-SAS-UNIX/m-p/281998#M16250</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-07-04T14:04:34Z</dc:date>
    </item>
  </channel>
</rss>

