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
Rhodochrosite | Level 12

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
Rhodochrosite | Level 12
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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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