<?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 How can prior versions of an object be retrieved? in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-can-prior-versions-of-an-object-be-retrieved/m-p/90374#M2343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;The archive function within SDD creates separate files for each version of an object in the directory being archived. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;If you archive a directory, a jar file is created containing all of the files in that directory.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;That jar file is written to the &lt;STRONG&gt;archives&lt;/STRONG&gt; folder in the SDD instance. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;If there are any versioned files in the directory, they will appear in the archive with an extension of "&lt;STRONG&gt;SDDVerxofx&lt;/STRONG&gt;". &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Here's an example:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;demo.sas7bdat_SDDVer1of2.sas7bdat&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;demo.sas7bdat_SDDVer2of2.sas7bdat&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;If saving the .jar file to a Windows machine, the extension will need to be renamed from .&lt;STRONG&gt;jar&lt;/STRONG&gt; to &lt;STRONG&gt;.zip&lt;/STRONG&gt;.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; Prior versions of a files can also be retrieved using the Remote API.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2012 20:41:31 GMT</pubDate>
    <dc:creator>sasnjm</dc:creator>
    <dc:date>2012-06-22T20:41:31Z</dc:date>
    <item>
      <title>How can prior versions of an object be retrieved?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-can-prior-versions-of-an-object-be-retrieved/m-p/90374#M2343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;The archive function within SDD creates separate files for each version of an object in the directory being archived. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;If you archive a directory, a jar file is created containing all of the files in that directory.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;That jar file is written to the &lt;STRONG&gt;archives&lt;/STRONG&gt; folder in the SDD instance. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;If there are any versioned files in the directory, they will appear in the archive with an extension of "&lt;STRONG&gt;SDDVerxofx&lt;/STRONG&gt;". &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Here's an example:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;demo.sas7bdat_SDDVer1of2.sas7bdat&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;demo.sas7bdat_SDDVer2of2.sas7bdat&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;If saving the .jar file to a Windows machine, the extension will need to be renamed from .&lt;STRONG&gt;jar&lt;/STRONG&gt; to &lt;STRONG&gt;.zip&lt;/STRONG&gt;.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; Prior versions of a files can also be retrieved using the Remote API.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 20:41:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-can-prior-versions-of-an-object-be-retrieved/m-p/90374#M2343</guid>
      <dc:creator>sasnjm</dc:creator>
      <dc:date>2012-06-22T20:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can prior versions of an object be retrieved?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-can-prior-versions-of-an-object-be-retrieved/m-p/90375#M2344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is the Java Program which when executed after proper setup can extract the previous versions information for the file or dataset into text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below steps provide guidance in setting up the environment to excute attached Java Program.&lt;/P&gt;&lt;P&gt;1. Download the latest SDD API from &lt;A href="ftp://ftp.sas.com/techsup/download/hotfix/35drugdev.html" title="ftp://ftp.sas.com/techsup/download/hotfix/35drugdev.html"&gt;SAS Drug Development 3.5 Hot Fixes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. We used Eclipse editor to develop and execute this code. You can download latest version of &lt;SPAN class="title"&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/downloads/packages/eclipse-classic-42/junor"&gt;Eclipse Classic &lt;/A&gt;&lt;/SPAN&gt; from Eclipse website.&lt;/P&gt;&lt;P&gt;3. &lt;A class="l" href="http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html"&gt;Download JDK&lt;/A&gt; from Oracle website.&lt;/P&gt;&lt;P&gt;4. Import the Java program into new Project and add reference to the SDD Java API jar files and JDK&lt;/P&gt;&lt;P&gt;5. Update the below code lines in Java program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String aURLStr= "&lt;A href="https://&amp;lt;SDDINSTANCE&amp;gt;.sas.com/sddremote"&gt;https://&amp;lt;SDDINSTANCE&amp;gt;.sas.com/sddremote&lt;/A&gt;"; // REPLACE &amp;lt;SDDINSTANCE&amp;gt; WITH YOUR SDD INSTANCE NAME;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String aUser= "";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // ENTER YOUR USERNAME;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String aPwd = "";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // ENTER YOUR PASSWORD;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String SDDPath="/SDD/Training/trainer/data/demo.sas7bdat"; // REPLACE IT WITH VERSIONED FILE FULLY QUALIFIED PATH;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached Java program can also be convereted into jar file and excuted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 13:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-can-prior-versions-of-an-object-be-retrieved/m-p/90375#M2344</guid>
      <dc:creator>Sandeep_sas</dc:creator>
      <dc:date>2012-08-13T13:03:02Z</dc:date>
    </item>
  </channel>
</rss>

