BookmarkSubscribeRSS Feed
devi001
Obsidian | Level 7

Hello, 

We are trying to Import SAS 9.4 EGP files in SAS Viya environment. Unfortunately, we are not able to import egp files.

Below are the commands that we have executed in SAS Viya 3.5/ Linux OS to import egp file using CLI method.

 

  1. [root@sasserver CLI]# . /opt/sas/viya/config/consul.conf
  2. [root@sasserver CLI]# ./sas-viya auth login

Enter credentials for https://sasserver.demo.sas.com/:

 

Userid> sas

 

Password> Login succeeded. Token saved.

3. [root@sasserver CLI]# ./sas-viya plugins install --repo SAS transfer

Installing the transfer plugin...

Retrieving source file from the SAS repository...

Plugin transfer v1.21.6 is already installed and up to date. Use --force to overwrite.

4. [root@sasserver CLI]# ./importEGProjects --sas-viya-path /opt/sas/viya/home/CLI/sas-viya --source-location /opt/sas/viya/home/EGProjects

 

Screenshot of the error message along with log file are attached for reference.

Please help resolving above mentioned error.

 

Thanks!

 

Thanks!

5 REPLIES 5
Kurt_Bremser
Super User

.egp files can only be used by Enterprise Guide. Unless you use EG, they become useless.

 

The best (and IMO only) method to store programs is in code form (text files with .sas extension). Even files from the 80's can still be loaded in any SAS environment.

ballardw
Super User

Hopefully you still have an EG environment available. I believe that you can export the code of the steps behind the GUI as .SAS code files.

SASKiwi
PROC Star

From what I understand, EG works with Viya 3.5 but not with Viya 4.0 aka 2021.x. If you plan to upgrade to Viya 4 then you will need to migrate all of your EG projects to SAS Studio.

ChrisHemedinger
Community Manager

EGP files can be imported into SAS Viya and converted to SAS Studio flows. However, the best support for this is the most recent versions of SAS Viya -- I'm unsure how it all works in SAS Viya 3.5.

 

You may need to check with SAS Technical Support on about the command you're using and the expected support for importing these.

SAS Innovate 2025: Call for Content! Submit your proposals before Sept 16. Accepted presenters get amazing perks to attend the conference!

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!

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
  • 2227 views
  • 0 likes
  • 5 in conversation