Desktop productivity for business analysts and programmers

I have project by SAS EG 4.2 local, how to transfer and run to EG 5.1 on server??

Reply
N/A
Posts: 1

I have project by SAS EG 4.2 local, how to transfer and run to EG 5.1 on server??


HI everyone,

Please hope to get help for my enquiry,

I have project containing data created by sas enterprise guide 4.2 on local PC, the project saved there locally and now we have sas server and enterprise guide 5,1, I want to transfer and run the project to the new version (on server), when I open the project and click run, I get errors , I need please details and instructions for what I must do to run on new version

Appreciated for your support

Thanks and Best Regards,

Trusted Advisor
Posts: 2,114

Re: I have project by SAS EG 4.2 local, how to transfer and run to EG 5.1 on server??

There are so many moving parts to your question that I suspect that we can't answer it here.  A couple of thoughts.

  • When you move data from one location to another (local PC to server), you are going to need to change all of the references to that data in your EGuide project.  If you used LIBNAMES to point to your data, you only need to change it there; if not, you need to change every reference.
  • Enterprise Guide runs locally on the client.  You need to install the EGuide 5.1 on the local PC.
  • If your old environment had the SAS server on the local PC, then you are going to need to work with your IT support to get the SAS connectivity from your local PC to the remote server.
  • Telling us (or tech support) the specific errors will get you further than a generic statement; there are hundreds of ways to get errors in SAS.

Doc Muhlbaier

Duke

Respected Advisor
Posts: 4,130

Re: I have project by SAS EG 4.2 local, how to transfer and run to EG 5.1 on server??

I had no problems to open EG project created with EG4.2 with 5.1 and then run it. The projects got right away converted. BUT: I didn't change the environment (from local SAS to server SAS).

I assume that's where you face issues. So for example your input and output files must now be in a directory which can be accessed by the SAS server (that's where your code gets executed - EG is only a "code generator").

Let's say you had your files somewhere on your c-drive. That worked with a local SAS installation (the SAS server on the same machine than the EG client). Doesn't work now anymore!

First thing: Move all your data to folders which the SAS Server can access, then change all the pathnames in the libraries so that they point to the new locations.

There is a EG migration wizard which can help you mapping old paths to new ones. Mine is under C:\Program Files\SASHome\x86\SASEnterpriseGuide\5.1\MigrationWizard.exe.

What you also can do is "hack". EG projects ".egp" are zip files. You can open it with WinZip or the like and then change paths directly in project.xml (work on a copy of the project! - it's "hacking" and you could destroy your project if you're doing something wrong).

The best thing of course would be - now that you're on a server - to use pre-defined libraries (in metadata) which already point to a location the server can access. Not sure how you can replace your old librefs with the new ones. I believe the migration wizard would support you there. For librefs in the code: you would need to change them.

One lazy way exists: libname <old libref> (<new libref in metadata>); would point your old librefs to the new locations as well.

N/A
Posts: 1

Re: I have project by SAS EG 4.2 local, how to transfer and run to EG 5.1 on server??

Thanks Patrick. This is useful. I was also facing similar situation. MigrationWizard.exe  allowed me to change Local server Paths to server paths for a project and helped me.

Ask a Question
Discussion stats
  • 3 replies
  • 1282 views
  • 1 like
  • 4 in conversation