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.
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!
.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.
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.
Since .egp files are zip archives containing xml data, you should be able to extract codes by first unzipping and then retrieving from that.
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.
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 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.