BookmarkSubscribeRSS Feed
vijayanand
Obsidian | Level 7

Hi,

 

I am migrating an indexed sasdataset from an AIX server to a Linux server , using PROC DOWNLOAD. The data file got migrated but not the index file.  Even with PROC CPORT and CIMPORT , the index file was not migrated.   The index file is physically present on the AIX server along with the data file.  

 

On further investigation into the results of Proc Contents on this dataset, it says that Indexes 0, which means there is no index defined on this dataset.

 

Though the index file is physically present, is it that the index file has no connection with the data file and the index file is of no use.

 

Thanks,

Vijayanand.

3 REPLIES 3
tsap
Pyrite | Level 9

Can you show the logic used when you ran the PROC DOWNLOAD, PROC CPORT, PROC CIMPORT steps?

Kurt_Bremser
Super User

Index files are highly version- and platform-specific and must be rebuilt on the target platform.

Even PROC MIGRATE does not migrate indexes, it rebuilds them.

You need to make an inventory of indexes so you can rebuild them on the target platform.

LinusH
Tourmaline | Level 20
PROC DOWNLOAD supports recreation of indexes, but behaviour depend on how you are using the OUT=, DATA= and INDEX = options.

https://documentation.sas.com/?docsetId=connref&docsetTarget=n01xxs4f7yb4cln188odwmewp98x.htm&docset...
Data never sleeps

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 3 replies
  • 649 views
  • 0 likes
  • 4 in conversation