<?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: Distinguish a dataset from a cluster in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19405#M3942</link>
    <description>Hi.&lt;BR /&gt;
proc contents has a option (out=data_set) which you can use it.&lt;BR /&gt;
and which tool you use to copy data. proc copy / proc cport ?&lt;BR /&gt;
there is a statement ( select dataset1 dataset2....)( exclude dataset1 dataset2 )which can able you to select or exclude the dataset which you want.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
    <pubDate>Thu, 21 Oct 2010 08:28:22 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2010-10-21T08:28:22Z</dc:date>
    <item>
      <title>Distinguish a dataset from a cluster</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19402#M3939</link>
      <description>Hello,&lt;BR /&gt;
Anyone know any way to distinguish a table from a cluster? I've tested functions, I considered the dictionary tables, already checked the proc contents and still can not find a way. The proc contents returns a report with information about the cluster members, but only appears in report, not appears in the table.&lt;BR /&gt;
&lt;BR /&gt;
Thank you.</description>
      <pubDate>Tue, 19 Oct 2010 17:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19402#M3939</guid>
      <dc:creator>elDorado</dc:creator>
      <dc:date>2010-10-19T17:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish a dataset from a cluster</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19403#M3940</link>
      <description>What do you consider to be a "cluster", please?  What OS platform or DBMS or otherwise any attribute consistent with your environment.  How do you access this "cluster" of information/data within your SAS session - share specific code as it appears in a SAS log execution, please.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 19 Oct 2010 19:52:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19403#M3940</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-10-19T19:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish a dataset from a cluster</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19404#M3941</link>
      <description>Hello. For me a cluster is a "dataset" but that is composed by several members, one member in this case corresponds to a year/month (example: cluster: sales; cluster members: sales_2010_01; sales_2010_02, etc. ...). The point is that in my case a cluster will have a different treatment of a dataset, then I want ditinguish them. I'm testing in Enterprise Guide 4.1 on windows xp and the DBMS is Informix. The cluster is accessed through aix and the libnames where are the clusters are SPDS.&lt;BR /&gt;
I'm creating a process to copy all tables/clusters by libname to another libname in another machine, and i whant to distinguish a dataset from one cluster to see if unmount the cluster and copy the members or if I copy the dataset directly. My tables and clusters are redistributed by several libnames base and SPDS.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the help.</description>
      <pubDate>Wed, 20 Oct 2010 09:31:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19404#M3941</guid>
      <dc:creator>elDorado</dc:creator>
      <dc:date>2010-10-20T09:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish a dataset from a cluster</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19405#M3942</link>
      <description>Hi.&lt;BR /&gt;
proc contents has a option (out=data_set) which you can use it.&lt;BR /&gt;
and which tool you use to copy data. proc copy / proc cport ?&lt;BR /&gt;
there is a statement ( select dataset1 dataset2....)( exclude dataset1 dataset2 )which can able you to select or exclude the dataset which you want.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Thu, 21 Oct 2010 08:28:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19405#M3942</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2010-10-21T08:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish a dataset from a cluster</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19406#M3943</link>
      <description>Also, suggest you look at the SAS-maintained DICTIONARY members using PROC SQL, or SASHELP.Vxxxxxx members using either a DATA step or possibly a PROC step.  Analyze these members to identify / filter the specific SAS-accessed file(s) you might want to process, select, as required.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search arguments, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
proc sql dictionary members site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
sashelp views site:sas.com</description>
      <pubDate>Thu, 21 Oct 2010 08:55:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19406#M3943</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-10-21T08:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish a dataset from a cluster</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19407#M3944</link>
      <description>Hi.&lt;BR /&gt;
I use proc copy in my process. As I have not found a way to distinguish a cluster from a dataset, did two independent processes, one to  copy the clusters and other to copy the datasets. I used the statement (select dataset1 dataset2 ....)( exclude dataset1 dataset2) in proc copy and so I decided my problem, I select and delete the tables that I want to copy.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the help.</description>
      <pubDate>Fri, 29 Oct 2010 08:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19407#M3944</guid>
      <dc:creator>elDorado</dc:creator>
      <dc:date>2010-10-29T08:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish a dataset from a cluster</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19408#M3945</link>
      <description>glad you've got a solution.&lt;BR /&gt;
I suffered a similar difficulty - from which path of a concatenated library does a table come. &lt;BR /&gt;
No dictionary table answers that question - but PROC CONTENTS (and ODS ) to the rescue! &lt;BR /&gt;
The information we want is produced by proc contents.&lt;BR /&gt;
Although the OUT= and OUT2= tables do not provide the actual data I needed (path to the physical data), the ODS layer can create a data set of any table that proc contents reports. &lt;BR /&gt;
For me it was the EngineHost table. For SPDS cluster information, the details may be created in a different table. I bet (beer at SAS Global Forum) you'll find any table of cluster information reported by proc contents can be written to a sas data set by using ODS output ...&lt;BR /&gt;
 &lt;BR /&gt;
good luck&lt;BR /&gt;
peterC</description>
      <pubDate>Wed, 03 Nov 2010 19:44:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19408#M3945</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-11-03T19:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish a dataset from a cluster</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19409#M3946</link>
      <description>Hi.Peter&lt;BR /&gt;
My company has a Spd server under AIX os.&lt;BR /&gt;
and in the AIX there is a file named libnames.parm(i.e. /sas/spds44/site/libnames.parm)&lt;BR /&gt;
which contains the information you need,you can use vi/txt open it and distil the pathe. But before use it, recommend to backup it for the sake of importance.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Fri, 05 Nov 2010 06:23:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/19409#M3946</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2010-11-05T06:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish a dataset from a cluster</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/403095#M66872</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to dig up an old topic, but I was trying to do the same and this came up in my search results.&amp;nbsp; I&amp;nbsp;eventually found&amp;nbsp;a workaround&amp;nbsp;that I thought&amp;nbsp;was worth sharing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you were to run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc spdo library=&amp;lt;LIB&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cluster list &amp;lt;TABLE&amp;gt;;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then if &amp;lt;TABLE&amp;gt; is a cluster, the macro &amp;amp;spdslist will be populated with a list of the members.&amp;nbsp; If &amp;lt;TABLE&amp;gt; is NOT a cluster, &amp;amp;spdslist is still created but will be blank, but unfortunately the procedure will error.&amp;nbsp; What I did was to redirect the log with proc printto statements immediately before and after proc spdo, to mask the error, then test the value of &amp;amp;spdslist to determine what to do next.&amp;nbsp; It's not the cleanest solution, but it worked for me!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 11:15:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/403095#M66872</guid>
      <dc:creator>cookdatasolutio</dc:creator>
      <dc:date>2017-10-11T11:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish a dataset from a cluster</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/403209#M66875</link>
      <description>If you query SPD Server DICTIONARY.CLUSTERS you should avoid errors.</description>
      <pubDate>Wed, 11 Oct 2017 15:28:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/403209#M66875</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-10-11T15:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish a dataset from a cluster</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/403287#M66879</link>
      <description>&lt;P&gt;Thank you. That certainly sounds a neater way, although when I tried it I got the message that dictionary.clusters was not a valid dictionary table name.&amp;nbsp; Perhaps that's&amp;nbsp;an issue with my current client's setup, but I'll certainly try it in future.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 17:51:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/403287#M66879</guid>
      <dc:creator>cookdatasolutio</dc:creator>
      <dc:date>2017-10-11T17:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish a dataset from a cluster</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/403603#M66894</link>
      <description>Be sure to use explicit SQL pass through.&lt;BR /&gt;Check the documentation for details.</description>
      <pubDate>Thu, 12 Oct 2017 15:51:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-a-dataset-from-a-cluster/m-p/403603#M66894</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-10-12T15:51:41Z</dc:date>
    </item>
  </channel>
</rss>

