BookmarkSubscribeRSS Feed
jagadeesh_2907
Calcite | Level 5

Hi ,

 

I am trying to copy a cluster table which has around 60 members. I need to copy this cluster table from one library to another with both in same SPDS server. Is there a way as most of the articles I have read about it does not give any hint on to copy a cluster as a cluster itself.

 

if I copy it with a  data step I will be able to read only the data and have to create the members again.

 

Thank you.

5 REPLIES 5
AhmedAl_Attar
Ammonite | Level 13

Hi,

 

Not sure if you had seen this or not Managing Large Data with SAS ® Dynamic Cluster Table Transactions

Most likely you'll have to undo the Cluster in order to get access to its members, copy the members to your destination library, then declare new cluster in your destination library.

 

Ahmed

SylviaPowell
SAS Employee
Development confirms that if you want to make an exact copy of a dynamic cluster table, then you need to undo the cluster, copy the members, and recreate the cluster.
LinusH
Tourmaline | Level 20

This sounds like a Ballot Item!

Being to copy a cluster, with or without the physical data.

Data never sleeps
AhmedAl_Attar
Ammonite | Level 13
Hi,
Wouldn't creating a view on top of the Cluster Table substitute for "copying a Cluster without physical data"?

Just a thought?
Ahmed
SylviaPowell
SAS Employee

A view is going to make the cluster look like a single table. I asssumed the previous question on how to copy a cluster was to determine how to replicate the cluster so it is still split into individual members. If you just want to access the data, then you can also create a single table from the cluster via PROC COPY or DATA step.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 2413 views
  • 4 likes
  • 4 in conversation