<?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 Modified date issue in ODS package zip in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Modified-date-issue-in-ODS-package-zip/m-p/646887#M193553</link>
    <description>&lt;P&gt;I am using macro to zip all files in a folder. When i open the zip file, date of modified becomes the date I ran the macro. When I create zip files manually, date of modified preserves original files date. Here is the code I am using. How can i preserve the original modified date in zip file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods package(newzip) open nopf;&lt;/P&gt;
&lt;P&gt;%do j = 1 %to &amp;amp;cnt;&lt;/P&gt;
&lt;P&gt;ods package(newzip) add file="&amp;amp;dir.&amp;amp;&amp;amp;name&amp;amp;j" mimetype="application/x-compress";&lt;BR /&gt;ods package(newzip) publish archive properties(archive_name="&amp;amp;zipnme..zip" archive_path="&amp;amp;ziploc");&lt;BR /&gt;&lt;BR /&gt;%end;&lt;/P&gt;
&lt;P&gt;ods package(newzip) close;&lt;/P&gt;</description>
    <pubDate>Mon, 11 May 2020 21:07:37 GMT</pubDate>
    <dc:creator>anurak</dc:creator>
    <dc:date>2020-05-11T21:07:37Z</dc:date>
    <item>
      <title>Modified date issue in ODS package zip</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Modified-date-issue-in-ODS-package-zip/m-p/646887#M193553</link>
      <description>&lt;P&gt;I am using macro to zip all files in a folder. When i open the zip file, date of modified becomes the date I ran the macro. When I create zip files manually, date of modified preserves original files date. Here is the code I am using. How can i preserve the original modified date in zip file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods package(newzip) open nopf;&lt;/P&gt;
&lt;P&gt;%do j = 1 %to &amp;amp;cnt;&lt;/P&gt;
&lt;P&gt;ods package(newzip) add file="&amp;amp;dir.&amp;amp;&amp;amp;name&amp;amp;j" mimetype="application/x-compress";&lt;BR /&gt;ods package(newzip) publish archive properties(archive_name="&amp;amp;zipnme..zip" archive_path="&amp;amp;ziploc");&lt;BR /&gt;&lt;BR /&gt;%end;&lt;/P&gt;
&lt;P&gt;ods package(newzip) close;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 21:07:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Modified-date-issue-in-ODS-package-zip/m-p/646887#M193553</guid>
      <dc:creator>anurak</dc:creator>
      <dc:date>2020-05-11T21:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Modified date issue in ODS package zip</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Modified-date-issue-in-ODS-package-zip/m-p/647223#M193667</link>
      <description>&lt;P&gt;Retaining timestamps for ZIP files has been discussed before on SAS Communities:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/New-SAS-User/Using-ODS-PACKAGE-to-create-ZIP-files-without-Changing-Timestamp/td-p/577547" target="_blank"&gt;https://communities.sas.com/t5/New-SAS-User/Using-ODS-PACKAGE-to-create-ZIP-files-without-Changing-Timestamp/td-p/577547&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 20:16:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Modified-date-issue-in-ODS-package-zip/m-p/647223#M193667</guid>
      <dc:creator>agannon</dc:creator>
      <dc:date>2020-05-12T20:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Modified date issue in ODS package zip</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Modified-date-issue-in-ODS-package-zip/m-p/647255#M193683</link>
      <description>It looks like there's currently no method to do that with ODS Package but if your OS has a zip tool installed you can use that from within SAS to get the same output, usually you do need XCMD enabled though.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 May 2020 21:50:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Modified-date-issue-in-ODS-package-zip/m-p/647255#M193683</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-12T21:50:53Z</dc:date>
    </item>
  </channel>
</rss>

