BookmarkSubscribeRSS Feed
vijayanand
Obsidian | Level 7

Hi ,

 

We are migrting SAS  Data from AIX to Linux machine.  For this we are using different SAS procewdures like PROC CPORT , CIMPORT , PROD DOWNLOAD etc...

 

These procedures are able to migrated SAS datasets, index files  and catalogs but not views.

 

PROC DOWNLOAD can migrate the views created using PROC SQL.  

 

How to migrate the views created using data step. 

 

 

Proc migrate can migrate the views but it has some limitations that it can not handle the views created on  AIX 64 bit OS.

 

Thanks,

Vijayanand.

3 REPLIES 3
SASKiwi
PROC Star

It would be better to re-run the source code creating the views on the target system. This will also test whether all of the correct libraries, tables and columns are present to recreate the views successfully.

vijayanand
Obsidian | Level 7
Thanks for the quick response.

Yes, running the source code is an option here. Unfortunately, I do not have access to the source code to run.

What other alternative can I choose to accomplish this.
Kurt_Bremser
Super User

With data step views , you can retrieve the code with this:

data view=viewname;
describe;
run; 

With SQL views, use this code:

proc sql;
describe view viewname;
quit;

@vijayanand wrote:
Unfortunately, I do not have access to the source code to run.


Somebody needs to be hung, drawn and quartered. Let this be an object lesson for the importance of proper documentation and sane coding processes.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 3 replies
  • 865 views
  • 5 likes
  • 3 in conversation