I'm trying to save a graphic output into a separate catalog within WORK library using GOUT=
option:
proc gchart data=sashelp.cars gout=car;
donut type/ name="car";
run;
When I do it in Base SAS (9.4), all works, I can see this catalog in Explorer or running proc catalog catalog=car; contents; run;
But when I do the same in EG 7.1 catalog is not created and proc catalog
gives an error ERROR: Catalog WORK.CAR does not exist
.
Can it be fixed?
A-ha! I see what you mean. I think there is a GOPTION that is conflicting with this. You can reset it. Try running this in SAS Enterprise Guide:
PROC CATALOG output:
Chris
By default, the GRSEG entries are placed in WORK.GSEG. Try this:
You can also use the Catalog Explorer custom task to see where the catalog entries are.
Chris
Thanks Chris, default catalog GSEG works and I use it. My point was that I cannot create another catalog in EG, though I can do it using Base SAS.
A-ha! I see what you mean. I think there is a GOPTION that is conflicting with this. You can reset it. Try running this in SAS Enterprise Guide:
PROC CATALOG output:
Chris
Thanks Chris, works perfect. I wonder what kind of option could prevent catalog creation...
I think it's the default setting that EG sets as GOPTIONS DEVICE=ACTIVEX. If you change your application options to use PNG instead (which I like better), then there is no conflict.
Chris
Hi community, I found this post when searching for the behaviour of the gseg catalog (I just used 'gseg' in the search field). My trouble is the following: I have lots of SAS programs that create assemblies of graphs that I combine using greplay. I rely on the names of the graphs to be in the (odd!) sequence of gplot, gplot1, gplot2 etc. In order for this to work, I need to be able to delete all the entries of the gseg catalog before a new set of entries are created (with the same names as before). I hope this is understandable.
From the post I can see how it works. Thank you. But, In my internal folder 'explorer' I cannot see the graph catalog. Its name does not appear. I ran the example in the post and everything was as displayed, however there is no catalog with the name 'mycars' in work.
I am missing a point here, but what?
Regards
Poul R S
The server list / data explorer in EG only shows datasets. Download and install the custom catalog viewer task Chris refers to earlier in this post to view catalog entries in a separate window.
Its too bad this functionality isn't integrated into EG out of the box, but it is better than not having it at all.
Hi, thanks for pointing me to the extension/add-in. Maybe I am just not understanding the instructions (fairly simple though) or something is wrong. My EG version is 6.1. The installation is sitting in a folder called C:\Program Files\SASHome\SASEnterpriseGuide\6.1, - so that is where I create the 'custom' folder as a subfolder. Then I extract the contents of the downloaded *.zip file in a temporary folder. There are 3 files there:
Readme.txt,
SAS.Tasks.Examples.CatalogExplorer.dll,
and a new *.zip file called
SASTasksCatalogExplorer_Src.zip.
Following the instructions I should copy all 3 of them into the new 'custom' folder, it being a subfolder of the ...\6.1\ - folder. Right?
Done that, but the addin does not show up in the Add-in tab in EG 6.1.
So is 6.1 not included in the version that it works for, or am I just missing something.
Regards
Poul R S
You need just the DLL file, not any of the source/sub-zip files.
One more step you probably need to do:
- Unblock custom task DLL for use in SAS Enterprise Guide
That step wasn't necessary WAY back when this particular task was built, but later versions of Microsoft .NET require it.
Chris
Thanks, the unblocking did it. Looks great. What I wanted. Poul R S
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!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.