<?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 gzip file in unix server read into di Studio 3.4 in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/gzip-file-in-unix-server-read-into-di-Studio-3-4/m-p/79522#M689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one .gz file in unix server location /aaa/dddd/ssss/file.gz&lt;/P&gt;&lt;P&gt;file.gz having .csv file inside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one provide me the command to gzip this file use in DI studio 3.4 job. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2012 03:21:39 GMT</pubDate>
    <dc:creator>SYN</dc:creator>
    <dc:date>2012-06-11T03:21:39Z</dc:date>
    <item>
      <title>gzip file in unix server read into di Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/gzip-file-in-unix-server-read-into-di-Studio-3-4/m-p/79522#M689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one .gz file in unix server location /aaa/dddd/ssss/file.gz&lt;/P&gt;&lt;P&gt;file.gz having .csv file inside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one provide me the command to gzip this file use in DI studio 3.4 job. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 03:21:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/gzip-file-in-unix-server-read-into-di-Studio-3-4/m-p/79522#M689</guid>
      <dc:creator>SYN</dc:creator>
      <dc:date>2012-06-11T03:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: gzip file in unix server read into di Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/gzip-file-in-unix-server-read-into-di-Studio-3-4/m-p/79523#M690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gzip files are unzipped with the gunzip UNIX command.&lt;/P&gt;&lt;P&gt;You can call it in the pre-code of the job using the X statement (make sure that AllowXCommand is set in the workspace/batch server).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 10:26:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/gzip-file-in-unix-server-read-into-di-Studio-3-4/m-p/79523#M690</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2012-06-11T10:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: gzip file in unix server read into di Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/gzip-file-in-unix-server-read-into-di-Studio-3-4/m-p/79524#M691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the valuable suggetion LinusH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given below code in job preprocess, job successful however file not uncompressed.&lt;/P&gt;&lt;P&gt;Please advise. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Access the data library */&lt;BR /&gt;LIBNAME xxx&amp;nbsp; "/aaa/dddd/ssss/file.gz" ;&lt;BR /&gt;%rcSet(&amp;amp;syslibrc);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* gunzip file */&lt;BR /&gt; x gunzip "file.gz";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 01:43:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/gzip-file-in-unix-server-read-into-di-Studio-3-4/m-p/79524#M691</guid>
      <dc:creator>SYN</dc:creator>
      <dc:date>2012-06-12T01:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: gzip file in unix server read into di Studio 3.4</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/gzip-file-in-unix-server-read-into-di-Studio-3-4/m-p/79525#M692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The X statement does not unfortunately give a returnrn code.&lt;/P&gt;&lt;P&gt;If you are using the filename file pipe "gunzip file.gz"; you will be able to see the return code when called from a data step.&lt;/P&gt;&lt;P&gt;I don't that the file name should have any quotation...?&lt;/P&gt;&lt;P&gt;And, are you sure that the file resists in the current directory on the server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 06:19:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/gzip-file-in-unix-server-read-into-di-Studio-3-4/m-p/79525#M692</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2012-06-12T06:19:14Z</dc:date>
    </item>
  </channel>
</rss>

