<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to put the files listing into a sas dataset in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-put-the-files-listing-into-a-sas-dataset/m-p/926300#M44718</link>
    <description>&lt;P&gt;Hello I am using the following command to get the listing of the S3 bucket. it goes into the log file.&lt;/P&gt;
&lt;P&gt;How to put it into a SAS dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let s3bucketpath=s3://***-pr-brz-datareten-edp-nprod;

filename oscmd pipe "aws s3 ls ""&amp;amp;s3bucketpath."" ";&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 29 Apr 2024 13:55:23 GMT</pubDate>
    <dc:creator>alepage</dc:creator>
    <dc:date>2024-04-29T13:55:23Z</dc:date>
    <item>
      <title>How to put the files listing into a sas dataset</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-put-the-files-listing-into-a-sas-dataset/m-p/926300#M44718</link>
      <description>&lt;P&gt;Hello I am using the following command to get the listing of the S3 bucket. it goes into the log file.&lt;/P&gt;
&lt;P&gt;How to put it into a SAS dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let s3bucketpath=s3://***-pr-brz-datareten-edp-nprod;

filename oscmd pipe "aws s3 ls ""&amp;amp;s3bucketpath."" ";&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Apr 2024 13:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-put-the-files-listing-into-a-sas-dataset/m-p/926300#M44718</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2024-04-29T13:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to put the files listing into a sas dataset</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-put-the-files-listing-into-a-sas-dataset/m-p/926301#M44719</link>
      <description>&lt;P&gt;You need to pair this PIPE output with a DATA step, something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;data WANT; 
  infile oscmd pad; 
  input LINE 256.;
  /* parse the line into fields */
  FNAME=substr(X,..); 
run;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 29 Apr 2024 14:00:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-put-the-files-listing-into-a-sas-dataset/m-p/926301#M44719</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2024-04-29T14:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to put the files listing into a sas dataset</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-put-the-files-listing-into-a-sas-dataset/m-p/926304#M44720</link>
      <description>&lt;P&gt;I am not familliar with pad&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does it stand for ?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 14:08:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-put-the-files-listing-into-a-sas-dataset/m-p/926304#M44720</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2024-04-29T14:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to put the files listing into a sas dataset</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-put-the-files-listing-into-a-sas-dataset/m-p/926306#M44721</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/76331"&gt;@alepage&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am not familliar with pad&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does it stand for ?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It means what it sounds like.&amp;nbsp; The lines are padded with spaces to the full logical record length.&lt;/P&gt;
&lt;P&gt;Not much use for it since they introduced the TRUNCOVER option some 30 to 40 years ago.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 14:14:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-put-the-files-listing-into-a-sas-dataset/m-p/926306#M44721</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-04-29T14:14:12Z</dc:date>
    </item>
  </channel>
</rss>

