<?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: Create zip file of all files in a folder in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605322#M175665</link>
    <description>&lt;P&gt;Yep - old school.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone else said I must try ODS Package -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2014/01/28/create-zip-ods-package/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://blogs.sas.com/content/sasdummy/2014/01/28/create-zip-ods-package/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried this and it works - adding more than one file at a time. I will just write a macro for the date in the filename - will always be the 20th of the month&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;open&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C93 20191028.pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C94 20191028.pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;publish&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;archive&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;properties&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt; (archive_name=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Reports.zip"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt; archive_path=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;); &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Nov 2019 07:34:16 GMT</pubDate>
    <dc:creator>DarrylLawrence</dc:creator>
    <dc:date>2019-11-19T07:34:16Z</dc:date>
    <item>
      <title>Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605016#M175487</link>
      <description>&lt;P&gt;Good day&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a folder that contains multiple PDF files. I want to create a zip file that must be emailed to someone.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;When I run this code, it creates the zip file but it only contains the last file written from the folder location.&lt;BR /&gt;&lt;BR /&gt;I pasted the log below the code - you can see the code referencing each PDF file but it looks like the individual pdf files are overwritten as the code runs and the zip file only contains the last file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I create one zip file that contains all the PDF documents in the (unix) folder?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;filename source "/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf";&lt;BR /&gt;filename tozip ZIP "/sas/lsf/Eighty_Twenty/Inputs/TFG_EIGHTY20_OPM_&amp;amp;FILEDATE..pdf.gz" ;&lt;/P&gt;
&lt;P&gt;data _null_; &lt;BR /&gt;infile source;&lt;BR /&gt;file tozip ;&lt;BR /&gt;input;&lt;BR /&gt;put _infile_ ;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C93 20191028.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=28Oct2019:13:40:22,&lt;BR /&gt;File Size (bytes)=167015&lt;/P&gt;
&lt;P&gt;NOTE: The file TOZIP is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/TFG_EIGHTY20_OPM_20191020.pdf.gz&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C94 20191028.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=28Oct2019:13:40:46,&lt;BR /&gt;File Size (bytes)=165533&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C95 20191028.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;2 The SAS System 13:46 Monday, November 18, 2019&lt;/P&gt;
&lt;P&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=28Oct2019:13:41:10,&lt;BR /&gt;File Size (bytes)=166410&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C96 20191028.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=28Oct2019:13:41:34,&lt;BR /&gt;File Size (bytes)=166450&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C97 20191028.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=28Oct2019:13:41:58,&lt;BR /&gt;File Size (bytes)=166928&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C98 20191028.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=28Oct2019:13:42:22,&lt;BR /&gt;File Size (bytes)=163935&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Credit Model Report_C100 20191028.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=28Oct2019:13:39:33,&lt;BR /&gt;File Size (bytes)=164781&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Credit Model Report_C101 20191028.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=28Oct2019:13:39:39,&lt;BR /&gt;File Size (bytes)=164970&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Credit Model Report_C102 20191028.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=28Oct2019:13:39:45,&lt;BR /&gt;File Size (bytes)=165148&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Credit Model Report_C103 20191028.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=28Oct2019:13:39:51,&lt;BR /&gt;3 The SAS System 13:46 Monday, November 18, 2019&lt;/P&gt;
&lt;P&gt;File Size (bytes)=165113&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Credit Model Report_C104 20191028.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=28Oct2019:13:39:57,&lt;BR /&gt;File Size (bytes)=163764&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Credit Model Report_C99 20191028.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=28Oct2019:13:39:27,&lt;BR /&gt;File Size (bytes)=165667&lt;/P&gt;
&lt;P&gt;NOTE: The infile SOURCE is:&lt;BR /&gt;Filename=/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty_Rapid_Input_Validation_20191029.pdf,&lt;BR /&gt;File List=/sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf,&lt;BR /&gt;Owner Name=darrylla,Group Name=sas,&lt;BR /&gt;Access Permission=-rw-rw-r--,&lt;BR /&gt;Last Modified=29Oct2019:09:49:13,&lt;BR /&gt;File Size (bytes)=100433&lt;/P&gt;
&lt;P&gt;NOTE: 726 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 1997.&lt;BR /&gt;NOTE: 748 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 2113.&lt;BR /&gt;NOTE: 761 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 1997.&lt;BR /&gt;NOTE: 777 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 1997.&lt;BR /&gt;NOTE: 769 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 1997.&lt;BR /&gt;NOTE: 756 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 1997.&lt;BR /&gt;NOTE: 734 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 1806.&lt;BR /&gt;NOTE: 738 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 2707.&lt;BR /&gt;NOTE: 754 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 2228.&lt;BR /&gt;NOTE: 728 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 1919.&lt;BR /&gt;NOTE: 712 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;4 The SAS System 13:46 Monday, November 18, 2019&lt;/P&gt;
&lt;P&gt;The maximum record length was 1861.&lt;BR /&gt;NOTE: 746 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 1954.&lt;BR /&gt;NOTE: 470 records were read from the infile SOURCE.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 1639.&lt;BR /&gt;NOTE: 9419 records were written to the file TOZIP.&lt;BR /&gt;The minimum record length was 0.&lt;BR /&gt;The maximum record length was 2707.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.13 seconds&lt;BR /&gt;cpu time 0.06 seconds&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 14:29:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605016#M175487</guid>
      <dc:creator>DarrylLawrence</dc:creator>
      <dc:date>2019-11-18T14:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605020#M175489</link>
      <description>&lt;P&gt;First, please create the zip folder in unix as below by using the zip command. Please go to path /sas/lsf/Eighty_Twenty/Inputs/PDF and then open the unix terminal from here and then type the below command&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;zip -r allpdf.zip /sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The above step will create a allpdf.zip file within /sas/lsf/Eighty_Twenty/Inputs/PDF&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then send this file from sas using the below code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename pdf email to='email address' subject='zip pdf file' attach="/sas/lsf/Eighty_Twenty/Inputs/PDF/allpdf.zip" ;

data _null_;
file tozip ;
input;
put 'zip file of pdf' ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Nov 2019 14:43:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605020#M175489</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-11-18T14:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605026#M175494</link>
      <description>&lt;P&gt;Thanks for the quick reply&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately I cannot logon to the terminal. I do not have access.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, this has to be an automated process that runs every month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can run the unix command in SAS but it does not create the zip file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there something wrong with the syntax?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;call system("zip -r allpdf.zip /sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf");&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 14:50:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605026#M175494</guid>
      <dc:creator>DarrylLawrence</dc:creator>
      <dc:date>2019-11-18T14:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605031#M175496</link>
      <description>&lt;P&gt;Could you please try the below code and confirm if it is generating the zip file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
call system("zip -r /sas/lsf/Eighty_Twenty/Inputs/PDF/allpdf.zip /sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf");
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Nov 2019 15:00:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605031#M175496</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-11-18T15:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605036#M175498</link>
      <description>&lt;P&gt;When you need to know what an external command really does, use the filename pipe method:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename oscmd pipe "zip -r allpdf.zip /sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf 2&amp;gt;&amp;amp;1";

data _null_;
infile oscmd;
input;
put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;All responses (regular and error output) will end up in the SAS log.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 15:14:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605036#M175498</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-18T15:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605107#M175532</link>
      <description>What about using ODS PACKAGE?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2014/01/28/create-zip-ods-package/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2014/01/28/create-zip-ods-package/&lt;/A&gt;</description>
      <pubDate>Mon, 18 Nov 2019 17:05:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605107#M175532</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-18T17:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605300#M175652</link>
      <description>Hi there&lt;BR /&gt;I tried ods package - but you can only attach one file. I need to automatically zip all the files in the folder on a monthly basis.&lt;BR /&gt;Thanks&lt;BR /&gt;Darryl&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Nov 2019 06:06:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605300#M175652</guid>
      <dc:creator>DarrylLawrence</dc:creator>
      <dc:date>2019-11-19T06:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605301#M175653</link>
      <description>Thanks for the tip.&lt;BR /&gt;I tried this yesterday but it failed. I have contacted my UNIX dba to find out of the correct syntax as it looks like the zip command does not work.&lt;BR /&gt;22         GOPTIONS ACCESSIBLE;&lt;BR /&gt;23         filename oscmd pipe "zip -r allpdf.zip /sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf 2&amp;gt;&amp;amp;1";&lt;BR /&gt;24&lt;BR /&gt;25         data _null_;&lt;BR /&gt;26         infile oscmd;&lt;BR /&gt;27         input;&lt;BR /&gt;28         put _infile_;&lt;BR /&gt;29         run;&lt;BR /&gt;&lt;BR /&gt;NOTE: The infile OSCMD is:&lt;BR /&gt;      Pipe command="zip -r allpdf.zip /sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf 2&amp;gt;&amp;amp;1"&lt;BR /&gt;&lt;BR /&gt;/usr/bin/ksh: zip:  not found.&lt;BR /&gt;NOTE: 1 record was read from the infile OSCMD.&lt;BR /&gt;      The minimum record length was 30.&lt;BR /&gt;      The maximum record length was 30.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;      real time           0.01 seconds&lt;BR /&gt;      cpu time            0.00 seconds&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Nov 2019 06:07:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605301#M175653</guid>
      <dc:creator>DarrylLawrence</dc:creator>
      <dc:date>2019-11-19T06:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605306#M175657</link>
      <description>&lt;P&gt;See how filename pipe immediately gives us a clue?&lt;/P&gt;
&lt;P&gt;There are two possibilities here:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;zip is not installed on your system&lt;/LI&gt;
&lt;LI&gt;zip is installed, but can't be found in the $PATH of the SAS session&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Once it is made sure that zip is installed, as an old UNIX hand I recommend to use the absolute system path to the executable in all scripts, so you would write something like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename oscmd pipe "/usr/bin/zip -r allpdf.zip /sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf 2&amp;gt;&amp;amp;1";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(/usr/bin/zip is the pathname for zip on AIX)&lt;/P&gt;
&lt;P&gt;That will make it work, regardless of the contents of $PATH.&lt;/P&gt;
&lt;P&gt;You should also consider to use gzip instead of zip when working on a UNIX system.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 06:32:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605306#M175657</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-19T06:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605314#M175660</link>
      <description>&lt;P&gt;My UNIX DBA helped me with this code.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We must use the "tar" command instead of "zip" as zip is a windows based utility.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/************************************************************************/&lt;/P&gt;
&lt;P&gt;/* Zip the PDF Documents&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/P&gt;
&lt;P&gt;/************************************************************************/&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;data&lt;/STRONG&gt; _null_;&lt;/P&gt;
&lt;P&gt;call system("tar -cvRf- /sas/lsf/Eighty_Twenty/Inputs/PDF/*.pdf |compress&amp;gt;&amp;gt;/sas/lsf/Eighty_Twenty/Inputs/Online_Models_Summary.tar.Z");&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 07:09:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605314#M175660</guid>
      <dc:creator>DarrylLawrence</dc:creator>
      <dc:date>2019-11-19T07:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605315#M175661</link>
      <description>&lt;P&gt;Wow, that's old school.&lt;/P&gt;
&lt;P&gt;Just FYI:&lt;/P&gt;
&lt;P&gt;The tar (short for "tape archive" - yes, really) creates a sequential stream of data (with filenames interspersed), and that stream is then fed (via the pipe) into the (equally old) compress utility, which does the compression. Therefore it's canonical to use the two-stage filename extension .tar.Z&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 07:16:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605315#M175661</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-19T07:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605320#M175664</link>
      <description>&lt;P&gt;&amp;nbsp;In the post he adds both the csv and readme files.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you try it and it not work? Are the files originally generated by SAS? If so this could streamlines it quite nicely &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/17486"&gt;@DarrylLawrence&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Hi there&lt;BR /&gt;I tried ods package - but you can only attach one file. I need to automatically zip all the files in the folder on a monthly basis.&lt;BR /&gt;Thanks&lt;BR /&gt;Darryl&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 07:31:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605320#M175664</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-19T07:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605322#M175665</link>
      <description>&lt;P&gt;Yep - old school.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone else said I must try ODS Package -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2014/01/28/create-zip-ods-package/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://blogs.sas.com/content/sasdummy/2014/01/28/create-zip-ods-package/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried this and it works - adding more than one file at a time. I will just write a macro for the date in the filename - will always be the 20th of the month&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;open&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C93 20191028.pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C94 20191028.pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;publish&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;archive&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;properties&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt; (archive_name=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Reports.zip"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt; archive_path=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;); &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 07:34:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605322#M175665</guid>
      <dc:creator>DarrylLawrence</dc:creator>
      <dc:date>2019-11-19T07:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605323#M175666</link>
      <description>&lt;!-- x-tinymce/html --&gt;
&lt;P&gt;I tried this and it works - adding more than one file at a time. I will just write a macro for the date in the filename - will always be the 20th of the month&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;open&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C93 20191028.pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C94 20191028.pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;publish&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;archive&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;properties&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt; (archive_name=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Reports.zip"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt; archive_path=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;); &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 07:34:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605323#M175666</guid>
      <dc:creator>DarrylLawrence</dc:creator>
      <dc:date>2019-11-19T07:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create zip file of all files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605327#M175669</link>
      <description>&lt;P&gt;This works.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The filenames to zip will be the same every month except for the date in the filename. I can put this in a macro variable and then reference the rundate in the ODS Package statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; rundate=20191028;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;open&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C93 &amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C94 &amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C95 &amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C96 &amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C97 &amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Cash Model Report_C98 &amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Credit Model Report_C99 &amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Credit Model Report_C100 &amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Credit Model Report_C101 &amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Credit Model Report_C102 &amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Credit Model Report_C103 &amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty Credit Model Report_C104 &amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;add&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; file=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/Eighty_Twenty_Rapid_Input_Validation_&amp;amp;rundate..pdf"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;publish&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;archive&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;properties&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt; (archive_name=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Online_Models_Summary_&amp;amp;rundate..zip"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt; archive_path=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sas/lsf/Eighty_Twenty/Inputs/PDF/"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;); &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;package&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (reports) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 07:54:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-zip-file-of-all-files-in-a-folder/m-p/605327#M175669</guid>
      <dc:creator>DarrylLawrence</dc:creator>
      <dc:date>2019-11-19T07:54:35Z</dc:date>
    </item>
  </channel>
</rss>

