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.

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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