<?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: GZIP all SAS datasets in a library. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115758#M23838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Kumarz&amp;nbsp; Just a question: Why are you not allowed to use xcmd?&lt;/P&gt;&lt;P&gt;a/ Because of the default setting in the SAS installation and your support/installation staff do not want to think about your requirements to get your work done? Than you have a hayman reasoning.&amp;nbsp; &lt;/P&gt;&lt;P&gt;b/ Because your are not allowed to do that kind of work with that data.&amp;nbsp; So, you have no problem as you are supposed not to do that.&lt;/P&gt;&lt;P&gt;As there are a lot of functions in SAS to access data of any type that pose an other question.&lt;/P&gt;&lt;P&gt;Did your organization anything about data-classification data-policies and something like RBAC (Role Based Accesc Control)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Vish33, There are limits at Unix commands as they are often using a fixed 4k internal buffer. The way KurtBremser solved I expect there are no limitations on that side. Zip formats also are having their limits on number of datasets and size of datasets. Not all zip tools are equal. &lt;A href="http://en.wikipedia.org/wiki/Zip_(file_format"&gt;http://en.wikipedia.org/wiki/Zip_(file_format&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2014 17:30:28 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2014-04-29T17:30:28Z</dc:date>
    <item>
      <title>GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115748#M23828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to use SAS to Zip all the datasets in a particular library.&lt;/P&gt;&lt;P&gt;Running&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; background-color: white;"&gt;systask&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background-color: white;"&gt;command&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: purple; background-color: white;"&gt;"gzip '/sas/&lt;SPAN style="color: #800080; font-family: 'Courier New'; background-color: #ffffff;"&gt;my special library&lt;/SPAN&gt;/mydataset.sas7bdat'"&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background-color: white;"&gt;wait&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background-color: white;"&gt;taskname&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-color: white;"&gt;=zip &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background-color: white;"&gt;status&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-color: white;"&gt;=check &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background-color: white;"&gt;shell&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-color: white;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; does work correctly!!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm struggling to write the code to get it to iterate over each dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;This has been my noble, but so-far-unsuccessful attempt:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following code which puts the names of datasets into a &lt;A href="http://www2.sas.com/proceedings/sugi31/040-31.pdf"&gt;macro array&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG style="color: navy; background-color: white; background-repeat: initial initial; background-position: initial initial;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: black; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt; datasets;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: blue; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt; sashelp.vmember (&lt;/SPAN&gt;&lt;SPAN style="color: blue; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;=(libname=&lt;/SPAN&gt;&lt;SPAN style="color: purple; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;'my_lib'&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt; and memtype=&lt;/SPAN&gt;&lt;SPAN style="color: purple; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;'DATA'&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: navy; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: navy; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;run&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;%&lt;STRONG&gt;&lt;EM&gt;array&lt;/EM&gt;&lt;/STRONG&gt;(datasets, data=datasets, var=memname);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like to repeat this code...&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;systask&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;command&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: purple; background: white;"&gt;"gzip '/sas/my special library/mydataset.sas7bdat'"&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;wait&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;taskname&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;=zip &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;status&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;=check &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background: white;"&gt;shell&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;... using the values in the macro array instead of "&lt;SPAN style="color: #800080; font-family: 'Courier New'; background-color: #ffffff;"&gt;mydataset&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this, which doesn't work, because the &lt;SPAN style="color: #800080; font-family: 'Courier New'; background-color: #ffffff;"&gt;?&lt;/SPAN&gt; is between single quotes, so isn't converted to the macro variables:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;%&lt;STRONG&gt;&lt;EM&gt;do_over&lt;/EM&gt;&lt;/STRONG&gt;(files, phrase= systask command &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; background: white;"&gt;"gzip '/sas/cc_data/adamh/20131014 - Unidentified Callers/?.sas7bdat'"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;&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; wait taskname=zip status=check shell; );&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Any advice would be greatly appreciated!!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 23:39:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115748#M23828</guid>
      <dc:creator>adamhyman</dc:creator>
      <dc:date>2013-10-17T23:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115749#M23829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a macro with the gzip commands instead and then call in a data step with call execute?&lt;/P&gt;&lt;P&gt;Untested below....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro gzip(file_name);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background-color: white;"&gt;systask&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background-color: white;"&gt;command&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: purple; background-color: white;"&gt;"gzip '/sas/my special library/&amp;amp;file_name..sas7bdat'"&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background-color: white;"&gt;wait&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background-color: white;"&gt;taskname&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-color: white;"&gt;=zip &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background-color: white;"&gt;status&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-color: white;"&gt;=check &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; background-color: white;"&gt;shell&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-color: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; background-color: white;"&gt;%mend;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;set datasets;&lt;/P&gt;&lt;P&gt;call execute("%gzip("||memname||");");&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 02:01:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115749#M23829</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-10-18T02:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115750#M23830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a way to accomplish it &lt;STRONG&gt;without&lt;/STRONG&gt; the need for GZIP.&amp;nbsp; This uses ODS PACKAGE (available in SAS 9.2 and later) to create the zip file for you.&amp;nbsp; The first part of the example "sets up" a small library/folder with just a couple of data members.&amp;nbsp; It uses&lt;A href="http://blogs.sas.com/content/sasdummy/2013/07/02/use-dlcreatedir-to-create-folders/"&gt; this LIBNAME trick to create a new folder&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last part uses FILENAME ZIP to modify the zip file a bit to remove a PackageMetaData artifact -- that's optional.&amp;nbsp; You need SAS 9.4 to use FILENAME ZIP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/* This sets up a folder that contains just the data we want */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;options dlcreatedir;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;libname tozip "%sysfunc(getoption(work))/zip";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc datasets lib=tozip;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;copy in=sashelp out=tozip;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;select cars class;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/* End of setup */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/* generate series of ODS PACKAGE ADD statements */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/* One for each data set file&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;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc sql;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; select &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; catt('ods package(datazip) add file="',path,'/',lowcase(memname),'.sas7bdat";') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; into: datafiles separated by ' '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; from sashelp.vmember&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; where libname='TOZIP' and memtype='DATA';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/* Creating a ZIP file with ODS PACKAGE */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ods package(datazip) open;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;amp;datafiles;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ods package(datazip) publish archive &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; properties(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; archive_name="tozip.zip" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; archive_path="c:\temp"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ods package(datazip) close;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/* If you have SAS 9.4, you can use FILENAME ZIP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;/* To remove the "PackageMetaData" item from your ZIP file */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;filename pkg ZIP "c:\temp\tozip.zip" member="PackageMetaData";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data _null_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; if (fexist('pkg')) then &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; rc = fdelete('pkg');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;filename pkg clear;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 12:55:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115750#M23830</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2013-10-18T12:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115751#M23831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is FILENAME &lt;STRONG&gt;GZIP&lt;/STRONG&gt; supported in SAS 9.4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean, can I directly use FILENAME &lt;STRONG&gt;GZIP &lt;/STRONG&gt;to zip SAS/other files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 20:32:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115751#M23831</guid>
      <dc:creator>Kumarz</dc:creator>
      <dc:date>2014-04-28T20:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115752#M23832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FILENAME ZIP is what's supported, which achieves what you want, I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://blogs.sas.com/content/sasdummy/2014/01/29/using-filename-zip/" title="http://blogs.sas.com/content/sasdummy/2014/01/29/using-filename-zip/"&gt; Reading and updating ZIP files with FILENAME ZIP - The SAS Dummy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 01:37:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115752#M23832</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2014-04-29T01:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115753#M23833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code. with out any macros...you can run this single statement to gzip all datasets present in that particular library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #800080; font-family: 'Courier New'; background-color: #ffffff;"&gt;X gzip "/sas/&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #800080; background-color: #ffffff;"&gt;my special library&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-family: 'Courier New'; background-color: #ffffff;"&gt;/*.sas7bdat";&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 09:39:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115753#M23833</guid>
      <dc:creator>Vish33</dc:creator>
      <dc:date>2014-04-29T09:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115754#M23834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will fail if there are too many datasets in the library (command line limitations).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 10:34:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115754#M23834</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-04-29T10:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115755#M23835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not do it completely in the shell?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x 'find "/sas/my special library" -maxdepth 1 -name \*.sas7bdat -exec gzip {} \;';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 10:38:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115755#M23835</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-04-29T10:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115756#M23836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should have asked this : Do we need to have &lt;STRONG&gt;ALLOW XCMD&lt;/STRONG&gt; option configured in our SAS environment to support FILENAME ZIP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now, we are not allowing our users to run system commands; so with 9.4 can user use FILENAME ZIP even with &lt;STRONG&gt;DISABLED ALLOW XCMD&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 14:15:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115756#M23836</guid>
      <dc:creator>Kumarz</dc:creator>
      <dc:date>2014-04-29T14:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115757#M23837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May i know what is the limit for number of datasets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 15:13:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115757#M23837</guid>
      <dc:creator>Vish33</dc:creator>
      <dc:date>2014-04-29T15:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115758#M23838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Kumarz&amp;nbsp; Just a question: Why are you not allowed to use xcmd?&lt;/P&gt;&lt;P&gt;a/ Because of the default setting in the SAS installation and your support/installation staff do not want to think about your requirements to get your work done? Than you have a hayman reasoning.&amp;nbsp; &lt;/P&gt;&lt;P&gt;b/ Because your are not allowed to do that kind of work with that data.&amp;nbsp; So, you have no problem as you are supposed not to do that.&lt;/P&gt;&lt;P&gt;As there are a lot of functions in SAS to access data of any type that pose an other question.&lt;/P&gt;&lt;P&gt;Did your organization anything about data-classification data-policies and something like RBAC (Role Based Accesc Control)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Vish33, There are limits at Unix commands as they are often using a fixed 4k internal buffer. The way KurtBremser solved I expect there are no limitations on that side. Zip formats also are having their limits on number of datasets and size of datasets. Not all zip tools are equal. &lt;A href="http://en.wikipedia.org/wiki/Zip_(file_format"&gt;http://en.wikipedia.org/wiki/Zip_(file_format&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 17:30:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115758#M23838</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-04-29T17:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115759#M23839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Jaap said, the limit is the size of the command line buffer, which is usually 4K.&lt;/P&gt;&lt;P&gt;Since the shell uses this buffer to expand the wildcards, gzip *.sas7bdat may lead to "parameter list too long".&lt;/P&gt;&lt;P&gt;My version hands the * over to the find command, which does not expand the list, but instead matches the pattern against any file it finds. The files are then gzip'd one by one, a method that scales indefinitely, for all purposes.&lt;/P&gt;&lt;P&gt;If you have to operate under a noxcmd restriction, you may still be able to ssh to the server and submit the command there.&lt;/P&gt;&lt;P&gt;If I can solve a problem with a single shell command, I prefer that every time to a lengthy SAS code.&lt;/P&gt;&lt;P&gt;Many problems can be solved with a hammer, but sometimes the screwdriver is better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 19:21:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115759#M23839</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-04-29T19:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115760#M23840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would say : &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;a/&lt;/SPAN&gt; --&amp;gt; Because of the default setting in the SAS installation and our support/installation staff do not want us to run system commands as they are worried about users bringing down the server or creating issues by running system commands accidentally (of course we don't have access/permissions to change resources on the server). But they are saying that allowing users to run System Commands is not a standard practice in SAS and doing that we are opening a new risk window by allowing users to run NON-REQUIRED system commands from SAS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;b/ --&amp;gt; I can go to the CLI and run ZIP/GZIP command on the server to compress my data and I'm allowed to do that. But I'm unable to do that if I try to use X command from SAS EG.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Since we are kind of a new SAS site; as of now we don't have &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;data-classification or data-policies and something like RBAC (Role Based Accesc Control). I would appreciate if you suggest something here which I can take to my SAS staff and management to make sure we get what we want without creating unnecessary risks/issues for our IT.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 20:59:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115760#M23840</guid>
      <dc:creator>Kumarz</dc:creator>
      <dc:date>2014-04-29T20:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115761#M23841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have login access to the command line, there is no, _no_, NO!!!!! reason to prohibit xcmd. Stick that to your "administrators". x starts a shell that differs from a "normal" login shell only in its environment (working directory, some environment variables), but not in its privileges. Any havoc you can wreak on the system with the x command is even easier done from the CLI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of bringing forth strawman arguments, they should harden their system by proper granting of rights, having quotas, workload management and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"My" users are reigned in by quota management in locations where they have write access (or I set up dedicated file systems that don't bother me if full), restricting the number of concurrent SAS sessions (so they don't cause excessive paging by running &amp;gt;30 SAS sessions at once, one of the idiots actually did that one time), and proper management of access rights to resources. I actually encourage them to use ssh and the x command to make their days easier, and I never had problems from that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your admins think that only some users should have xcmd (and CLI access) enabled, then they only need to define an additional workspace server that only the privileged users have access to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 06:40:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115761#M23841</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-04-30T06:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115762#M23842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kumarz, Kurt is a little bit rude but he is right. Kurt and I could do an Alliance :smileydevil:.&amp;nbsp; If I read his approach he is really engaged and helping his customers analists.&lt;/P&gt;&lt;P&gt;You have access to CLI (ssh) allowing all commands and not able to do the same with SAS. Silly/Crazy reasoning. Could by a Dilbert episode using humor as approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why this blocking issue? There are a lot of policies at the OS level. I found an example at an professional organization.&amp;nbsp; &lt;A href="http://www.linkedin.com/redirect?url=http%3A%2F%2Fwww%2Ensa%2Egov%2Fia%2F_files%2Fos%2Fredhat%2Frhel5-guide-i731%2Epdf&amp;amp;urlhash=E_I3&amp;amp;_t=tracking_disc" rel="nofollow" target="blank"&gt;http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf&lt;/A&gt;&amp;nbsp; Interesting is 2.3.1.4 as is telling users should not use the shell. That will work for routers or a DBMS with his own OS approach, but not when you want to use it for analytics in a way like Excel desktop approach. You need to convince and document analytics is different than a router approach. This should not be that difficult. The argument that this not common with SAS is a false one.&amp;nbsp; Why SAS did this default setting? I want to keep polite, .... &lt;/P&gt;&lt;P&gt;It looks for me as SAS failed to understand the higher level requirements as set by reglautors (hipaa iso27k ITSM Cobit) and instead did some technical things as result of vague insinuations/questions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is to find about the xcmd? see: &lt;A href="http://blogs.sas.com/content/sasdummy/2012/08/31/the-case-for-xcmd-privileges-in-sas-enterprise-guide/" title="http://blogs.sas.com/content/sasdummy/2012/08/31/the-case-for-xcmd-privileges-in-sas-enterprise-guide/"&gt; The case for XCMD privileges in SAS Enterprise Guide - The SAS Dummy&lt;/A&gt; Normal SAS usage in PC environments is quite common to use xcmds, their own desktop/data why should you bother them. At 9.1.3 Eguide was limited in the same way with xcmd and getting bad acceptance for that. That one is set open by default again at 9.3.&lt;/P&gt;&lt;P&gt;SAS is very open to integrate tools. With most of them you will find the XCMD access level is needed. As examples:&lt;/P&gt;&lt;P&gt;-&amp;nbsp; using R with SAS/IML,&lt;/P&gt;&lt;P&gt;- Eminer user instructions,&lt;/P&gt;&lt;P&gt;- get through requirements of solutions you will also find many times the XCMD-requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp; SAS-VA is marketed as web-based but the data-admins are needing xcmd (6.4).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;For those third party components SAS is integrating they are promising to allow xcmd usage not needing that setting. That is bypassing their own check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why would you do all that trouble? Having a well designed OS layer security not allowing you to harm anybody else on the machine (sandboxed -&amp;nbsp; non-shared parts - workload isolation cgroup) and when something is going wrong you can correct that yourself or somebody like Kurt will get to you.&lt;/P&gt;&lt;P&gt;This is asking a more professional approach at the OS level with this vision. Can be challenging.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 08:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115762#M23842</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-04-30T08:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115763#M23843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kurt and Jaap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate both of yours' detailed response in this case. Kurt sounds little rude; but honestly he is 100% right. It didn't make sense to me as well when I asked the same question and they gave me all those security reasons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now, I'm doing little more research before petitioning my administrator to grant as allow XCMD and remove other restrictions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since, I'm slowly moving towards Admin role; Can I ask you guys some specific questions via emails? I'm not sure if conversations like this (or future) should be part of this thread or not. Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And like Jaap mentioned about creating an alliance with Kurt to help users like me; it would be great that we get direct guidance from industry experts like you...!!!. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 May 2014 02:58:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115763#M23843</guid>
      <dc:creator>Kumarz</dc:creator>
      <dc:date>2014-05-11T02:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115764#M23844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did recognize your issues as Kurt did, it is frustrating. Reading his answers/discussions you can recognize he understands SAS and the OS environment as a combination.&lt;/P&gt;&lt;P&gt;That is a needed combination that when lacking is giving that many problems. And make a guess how often this is wrong indeed.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the arguments and going deeper into details about a real secured environment, I have given some links already. &lt;/P&gt;&lt;P&gt;"It looks for me as SAS failed to understand the higher level requirements as set by regulators (hipaa iso27k ITSM Cobit) and instead did some technical things as result of vague insinuations/questions." &lt;/P&gt;&lt;P&gt;We can do it openly. A lot of more people are having this kind of problems. It could be very interesting for SAS people also.&amp;nbsp; &lt;/P&gt;&lt;P&gt;You are not the only one. I went to the OS details with SNLFAM1 in this one: &lt;A _jive_internal="true" href="https://communities.sas.com/message/176248#176248"&gt;Allowing Approved Permissions to Restricted Data&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Building up the environment according the required security policies and that is not just following:&amp;nbsp; a contradictionary way or&amp;nbsp; humbug checklist statements as used by nitwits.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it are details about persons or a company you are not wanting to have in a discussion thread you can mail me.&lt;/P&gt;&lt;P&gt;I should be easily to find ...(just google).&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 May 2014 06:16:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115764#M23844</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-05-11T06:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115765#M23845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are already moving towards an "admin" role:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- read, read, read. Since there are literally tons (in terms of paper, if printed) of SAS documentation out there, that is an absolute prerogative. I have found that posting the contents of an error message or a log in google with "SAS" prepended often returns a usable link to information immediately.&lt;/P&gt;&lt;P&gt;- get a solid grip on the operating system which is used for the SAS server. With CLI access, you may find you can solve lots of problems quickly using generic OS tools. Server OS's are VERY powerful, and the "read, read, read" is also valid there. Knowledge of the server OS puts you on an equal footing with those who run/administrate it. Large operations tend to produce people who avoid work by feeding bullshit to those that they consider to have no clue. Proving them wrong can be exhilarating and rewarding &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;. I often find myself (in the admin role) close to falling into this trap, so I force myself to rethink WHY I have placed certain restrictions on users.&lt;/P&gt;&lt;P&gt;- real security for data has to be done at the OS level. Only there can you be sure that nothing untowards happens (think of your case: restricting access via metadata is useless if you can still use the CL to copy a file to your sasuser directory).&lt;/P&gt;&lt;P&gt;- if then you have problems that seem impossible to solve, or if you suspect that there may be more efficient solutions, don't hesitate to open threads here or in other places (stackexchange.com, stackoverflow.com etc). That way you tap into the cumulative wisdom of the whole _planet_.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 07:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115765#M23845</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-05-12T07:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115766#M23846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is one for everyone, excellent to be quoted: &lt;/P&gt;&lt;P&gt;"I often find myself (in the admin role) close to falling into this trap, so I force myself to rethink WHY I have placed certain restrictions on users."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 07:44:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115766#M23846</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-05-12T07:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: GZIP all SAS datasets in a library.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115767#M23847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would agree to both of you on all the comments and suggestions. Especially Read, read, read and Mastering the OS part. I have been reading these (and other) blogs/threads and SAS documentations as much as I can and MOSTLY whenever I face a problem (like everyone else.......&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course its never ending process. But my confusion is how much is enough? Because in today's fast paced world nothing is enough and everything you learn/deliver is late when you are a new to an Admin role (or any other role).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there any suggestion (or any discussion on other forums/threads) that you guys can share with us? I mean, " How to become an efficient &lt;STRONG&gt;SAS Administrator&lt;/STRONG&gt; : For a newbie or for a SAS programmer or for anyone?" If nothing is out there; then lets build/start something from this question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be a great help for an aspiring SAS Administrator like me and others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 18:03:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GZIP-all-SAS-datasets-in-a-library/m-p/115767#M23847</guid>
      <dc:creator>Kumarz</dc:creator>
      <dc:date>2014-05-14T18:03:28Z</dc:date>
    </item>
  </channel>
</rss>

