<?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 Writing Output to a Unix location in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Writing-Output-to-a-Unix-location/m-p/43440#M2821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am researching frantically for a sample code that would write the output from a stored process to a unix location. My original stored process code is long and complex - so I started with a simple one like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*ProcessBody;&lt;/P&gt;&lt;P&gt;%stpbegin;&lt;/P&gt;&lt;P&gt;ods pdf "/sasstg/.../saspert/sashelp_class.pdf";&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P&gt;where age=&amp;amp;inputage ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;%stpend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created this stored process in EG and also created the inputage as a required input variable in the Parameters Step. When I run it using the SP web application, I do get the output in a new IE tab. But, there is no output being generated on the unix location. Any suggestions why that would be the case? Please note that I have no access to SAS Management Console at my client's location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reviewed some of the older threads but they are like my scenarios but not exactly identical. &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/12277#12277"&gt;http://communities.sas.com/message/12277#12277&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/6638#6638"&gt;http://communities.sas.com/message/6638#6638&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why I am trying to redirect the output to unix rather than _webout is another long story. I have a SAS Track for that if anyone is interested to review that ( [SAS 7610623830] Report on Stored Process Server having intermittent outage issues). Please note that my current priority is to generate the output somehow in some location that can be retrieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;saspert&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10601iE26084FF0E44706B/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sas discussion thread 8-4-2011 8-50-18 PM.gif" title="sas discussion thread 8-4-2011 8-50-18 PM.gif" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2011 01:27:24 GMT</pubDate>
    <dc:creator>saspert</dc:creator>
    <dc:date>2011-08-05T01:27:24Z</dc:date>
    <item>
      <title>Writing Output to a Unix location</title>
      <link>https://communities.sas.com/t5/Developers/Writing-Output-to-a-Unix-location/m-p/43440#M2821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am researching frantically for a sample code that would write the output from a stored process to a unix location. My original stored process code is long and complex - so I started with a simple one like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*ProcessBody;&lt;/P&gt;&lt;P&gt;%stpbegin;&lt;/P&gt;&lt;P&gt;ods pdf "/sasstg/.../saspert/sashelp_class.pdf";&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P&gt;where age=&amp;amp;inputage ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;%stpend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created this stored process in EG and also created the inputage as a required input variable in the Parameters Step. When I run it using the SP web application, I do get the output in a new IE tab. But, there is no output being generated on the unix location. Any suggestions why that would be the case? Please note that I have no access to SAS Management Console at my client's location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reviewed some of the older threads but they are like my scenarios but not exactly identical. &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/12277#12277"&gt;http://communities.sas.com/message/12277#12277&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/6638#6638"&gt;http://communities.sas.com/message/6638#6638&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why I am trying to redirect the output to unix rather than _webout is another long story. I have a SAS Track for that if anyone is interested to review that ( [SAS 7610623830] Report on Stored Process Server having intermittent outage issues). Please note that my current priority is to generate the output somehow in some location that can be retrieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;saspert&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10601iE26084FF0E44706B/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sas discussion thread 8-4-2011 8-50-18 PM.gif" title="sas discussion thread 8-4-2011 8-50-18 PM.gif" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 01:27:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Writing-Output-to-a-Unix-location/m-p/43440#M2821</guid>
      <dc:creator>saspert</dc:creator>
      <dc:date>2011-08-05T01:27:24Z</dc:date>
    </item>
    <item>
      <title>Writing Output to a Unix location</title>
      <link>https://communities.sas.com/t5/Developers/Writing-Output-to-a-Unix-location/m-p/43441#M2822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following code works correctly on my machine:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;*ProcessBody;&lt;BR /&gt;%stpbegin;&lt;BR /&gt;ods pdf body="C:\SAS\Packages93\sample.pdf";&lt;BR /&gt;proc print data=sashelp.class(obs=1);&lt;BR /&gt;run;&lt;BR /&gt;ods _all_ close;&lt;BR /&gt;%stpend;&lt;/P&gt;&lt;P&gt;I set the stored process to run on Stored Process Server and generate both Streaming and Package result types.&lt;BR /&gt;No prompts or target/source data elements are defined in the metadata for this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at your ods statement, the BODY= statement is missing. Not sure if that is a typo or the issue that you are having.&lt;BR /&gt;Check the stored process logs and add them here if your still having trouble.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~ Angela Hall&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/bi"&gt;http://blogs.sas.com/content/bi&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 15:43:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Writing-Output-to-a-Unix-location/m-p/43441#M2822</guid>
      <dc:creator>AngelaHall</dc:creator>
      <dc:date>2011-09-21T15:43:04Z</dc:date>
    </item>
  </channel>
</rss>

