<?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: retrieve and view permanent package in Developers</title>
    <link>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11715#M2309</link>
    <description>Your second stored process could use the Publishing Framework (part of SAS Integration Technologies) to retrieve the package.  I don't know how "simple" it is, but here is a starting point:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/publishdg/61497/HTML/default/pkgintf.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/publishdg/61497/HTML/default/pkgintf.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Is it a requirement to create package output in the first stored process?  It might be easier to write the original files to a directory under the control of a Web server, then point to them later.&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
    <pubDate>Tue, 05 Oct 2010 15:05:06 GMT</pubDate>
    <dc:creator>Vince_SAS</dc:creator>
    <dc:date>2010-10-05T15:05:06Z</dc:date>
    <item>
      <title>retrieve and view permanent package</title>
      <link>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11714#M2308</link>
      <description>I have a stored process that creates a permanent package containing tabular and graphic content (print and gplot output) in an archive location (not webDAV).  Is there a simple way to retrieve the package and add the contents to streamed output as part of a second stored process run from the stored process web application?&lt;BR /&gt;
&lt;BR /&gt;
I do not have the full intelligence platform only integration technologies.&lt;BR /&gt;
&lt;BR /&gt;
Thanks very much!</description>
      <pubDate>Tue, 05 Oct 2010 13:03:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11714#M2308</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-10-05T13:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve and view permanent package</title>
      <link>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11715#M2309</link>
      <description>Your second stored process could use the Publishing Framework (part of SAS Integration Technologies) to retrieve the package.  I don't know how "simple" it is, but here is a starting point:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/publishdg/61497/HTML/default/pkgintf.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/publishdg/61497/HTML/default/pkgintf.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Is it a requirement to create package output in the first stored process?  It might be easier to write the original files to a directory under the control of a Web server, then point to them later.&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Tue, 05 Oct 2010 15:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11715#M2309</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2010-10-05T15:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve and view permanent package</title>
      <link>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11716#M2310</link>
      <description>We have a reverse proxy in place for /SASStoredProcess/ and, for security reasons, no ability to put files (for frames, imbedded images, etc.) on the primary web server.</description>
      <pubDate>Tue, 05 Oct 2010 16:29:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11716#M2310</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-10-05T16:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve and view permanent package</title>
      <link>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11717#M2311</link>
      <description>Others who have been in similar situations have made use of the FILESRV program:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/web/intrnet/filesrv/filesrv.html" target="_blank"&gt;http://support.sas.com/rnd/web/intrnet/filesrv/filesrv.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
The first program writes files to a directory on the server, and then when needed, you run a program that uses FILESRV to serve the file.  This is especially helpful for serving image files.  You will need to use the AUTHDSN argument to point to a SAS dataset that specifies which directories authorized.&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Tue, 05 Oct 2010 16:50:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11717#M2311</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2010-10-05T16:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve and view permanent package</title>
      <link>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11718#M2312</link>
      <description>FILESRV is almost working.  However, and I apologize for extending this a bit off topic, I cannot get the image files to return to the browser correctly.  Trying gif and png, both return as base64 code and not images.  I have tried adding 'Content-disposition: inline' and 'Content-Transfer-Encoding: base64', but neither fix the issue.&lt;BR /&gt;
&lt;BR /&gt;
Thanks very much</description>
      <pubDate>Tue, 05 Oct 2010 19:11:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11718#M2312</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-10-05T19:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: retrieve and view permanent package</title>
      <link>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11719#M2313</link>
      <description>I don't know where the BASE64 encoding is happening; I don't think FILESRV does that.  In the headers dataset SASHELP.FSHEAD, you should see the following:&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;B&gt;ext    datatype    filetype&lt;/B&gt;&lt;BR /&gt;
gif       b           e&lt;BR /&gt;
jpeg      b           e&lt;BR /&gt;
jpg       b           e&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Running this code should open _WEBOUT in binary mode, and copy the file "some-path/some-name.jpg" to _WEBOUT:&lt;BR /&gt;
[pre]&lt;BR /&gt;
%filesrv(file=some-path/some-name.jpg, &lt;BR /&gt;
         filetyp=e, &lt;BR /&gt;
         authdsn=your-authorization-data-set);&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Tue, 05 Oct 2010 19:29:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/retrieve-and-view-permanent-package/m-p/11719#M2313</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2010-10-05T19:29:52Z</dc:date>
    </item>
  </channel>
</rss>

