<?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 share files to each group equally in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-share-files-to-each-group-equally/m-p/560178#M156570</link>
    <description>&lt;P&gt;data have ;&lt;/P&gt;&lt;P&gt;input id group$ ;&lt;/P&gt;&lt;P&gt;cards ;&lt;/P&gt;&lt;P&gt;101&amp;nbsp; group1&lt;/P&gt;&lt;P&gt;102 group1&lt;/P&gt;&lt;P&gt;103 group1&lt;/P&gt;&lt;P&gt;104 group2&lt;/P&gt;&lt;P&gt;105 group2&lt;/P&gt;&lt;P&gt;106 group2&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;1)Group1 has 88 files&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)Group2 has 99 files&lt;/P&gt;&lt;P&gt;How to share files each group equally&amp;nbsp; like see below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;101 group1 file1&amp;nbsp;&lt;/P&gt;&lt;P&gt;101 group1 file2&lt;/P&gt;&lt;P&gt;..................&lt;/P&gt;&lt;P&gt;106 group2 file99&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2019 15:16:51 GMT</pubDate>
    <dc:creator>thanikondharish</dc:creator>
    <dc:date>2019-05-20T15:16:51Z</dc:date>
    <item>
      <title>how to share files to each group equally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-share-files-to-each-group-equally/m-p/560178#M156570</link>
      <description>&lt;P&gt;data have ;&lt;/P&gt;&lt;P&gt;input id group$ ;&lt;/P&gt;&lt;P&gt;cards ;&lt;/P&gt;&lt;P&gt;101&amp;nbsp; group1&lt;/P&gt;&lt;P&gt;102 group1&lt;/P&gt;&lt;P&gt;103 group1&lt;/P&gt;&lt;P&gt;104 group2&lt;/P&gt;&lt;P&gt;105 group2&lt;/P&gt;&lt;P&gt;106 group2&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;1)Group1 has 88 files&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)Group2 has 99 files&lt;/P&gt;&lt;P&gt;How to share files each group equally&amp;nbsp; like see below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;101 group1 file1&amp;nbsp;&lt;/P&gt;&lt;P&gt;101 group1 file2&lt;/P&gt;&lt;P&gt;..................&lt;/P&gt;&lt;P&gt;106 group2 file99&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 15:16:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-share-files-to-each-group-equally/m-p/560178#M156570</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2019-05-20T15:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to share files to each group equally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-share-files-to-each-group-equally/m-p/560248#M156619</link>
      <description>&lt;P&gt;Not exactly clear what you're asking. Please clarify your needs if this isn't helpful:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
	length id 8. group file $10.;
	do id = 101 to 106;
		group = 'group1';
		do i= 1 to 88;
			 file=cats("file",i);
			 output;
		end;
		group = 'group2';
		do i = 1 to 99;
			file=cats("file",i);
			output;
		end;
	end;
	drop i;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 May 2019 18:49:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-share-files-to-each-group-equally/m-p/560248#M156619</guid>
      <dc:creator>noling</dc:creator>
      <dc:date>2019-05-20T18:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to share files to each group equally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-share-files-to-each-group-equally/m-p/560325#M156654</link>
      <description>One office has 6 employees now we should give work to them they are total&lt;BR /&gt;36 files .Now we have distribute equally like see below&lt;BR /&gt;101 office1 file1&lt;BR /&gt;101 office1 file2&lt;BR /&gt;101 office1 file3&lt;BR /&gt;101 office1 file4&lt;BR /&gt;101 office1 file5&lt;BR /&gt;101 office1 file6&lt;BR /&gt;102 office1 file7&lt;BR /&gt;............&lt;BR /&gt;106 office1 file36&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2019 02:57:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-share-files-to-each-group-equally/m-p/560325#M156654</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2019-05-21T02:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to share files to each group equally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-share-files-to-each-group-equally/m-p/560462#M156730</link>
      <description>&lt;P&gt;See if you can modify my previous datastep to get your desired output. Looks like this may need to be a separate table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be able to use the mod function to find values that are divisible by 6 -&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000245916.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000245916.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 12:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-share-files-to-each-group-equally/m-p/560462#M156730</guid>
      <dc:creator>noling</dc:creator>
      <dc:date>2019-05-21T12:21:20Z</dc:date>
    </item>
  </channel>
</rss>

