I have a SAS EG project file (version 7.1) that I created two months ago and never had issues with it. Anyway, I opened the project today to work off of and while the project opened just fine (and the import steps were working), if I click on the program portion, I had this error: "the file associated with this view could not be located." And the program does not open.
How can this be? How can my project exist but not the program and how do I retrieve the program? Thank you all in advance for your help.
You may need to provide additional information. SAS will allow creating a view from an external file, such as a text file. If that external file was renamed, moved or deleted that could be a cause and would have nothing to do with EG project.
Can you export the code from the project? If so check to see if you have a reference to a view.
Another possibility, since you mention importing data, is that the import steps may not have actually completed and so you opening the code attempted to use something that was not quite available yet.
Thanks for your reply! So what kind of information would you need? I tried to export the code and all that exported was the code that SAS uses to export... Also, I can't even open the program without it erroring so I can't actually see its contents anymore. I can, however, verify that the import steps run in full.
I was hoping you'd be able to export code from the existing project to verify that there weren't any syntax issues and them possibly import that back into a new project.
I don't use EG because it is often next to an impediment in the types of ad hoc queries most of my data gets. So recovery of the odd type file projects are stored in is out of my knowledge base.
Can you get a log for someone to look at? It may provide some information.
If your organization has backup software it may be worth asking if there is a version of this project in an archive.
EGPs are zipped folders. In case of an emergency unzipping it could be the only way to find out what went wrong. You will find the contents of your project in numerous xml-files, code is stored in normal sas-program-files.
On opening code, i have never seen such an error message.
Hi there, I checked to see if the file was embedded and it seems to be embedded. Does it make sense to receive this error given that the program is indeed embedded in the project file?
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 25. Read more here about why you should contribute and what is in it for you!
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.