Desktop productivity for business analysts and programmers

Suppress the GOPTIONS statement

Reply
New Contributor
Posts: 4

Suppress the GOPTIONS statement

 

In our organization we don't have SAS/GRAPH insalled, so we always see the errors in the log file while generation a AG Project (see explanation below from SAS)

 

"Enables you to suppress the GOPTIONS statement that is automatically added to the SAS code that SAS Enterprise Guide generates.  You might want to select this option if you do not have SAS/GRAPH installed on your SAS server.   If you do not have SAS/GRAPH installed on your SAS server, then the GOPTIONS statement generates an error in the log file."

 

Everytime I re-open a project or select an new project de "supress" selection is turned off. How can I make sure that the selections keeps supressed (as shown in the attached picture)? 

Valued Guide
Posts: 631

Re: Suppress the GOPTIONS statement

Which version of EG is used? Are other options properly saved?

 

New Contributor
Posts: 4

Re: Suppress the GOPTIONS statement

Posted in reply to andreas_lds

The version we use is EG 5.1.

Only after restarting my computer the choosen options disappear (also other options).

Valued Guide
Posts: 631

Re: Suppress the GOPTIONS statement

That is an ancient version ;-)

And EG runs on your local computer, not on Citrix or something alike?

 

Contacting Tech-Support or your local sas-admins seems to be a good idea.

 

New Contributor
Posts: 4

Re: Suppress the GOPTIONS statement

Posted in reply to andreas_lds

Thanks,

My computer runs on Citrix. I was wondering if this could cause the problem indeed because the settings only disappear after restaring the computer.

 

SAS Super FREQ
Posts: 402

Re: Suppress the GOPTIONS statement

That (your Citrix configuration) is almost certainly the issue then. Your EG options are stored in this xml file (in your appdata user location):

%appdata%\SAS\EnterpriseGuide\7.1\EGOptions.xml

(ex. C:\Users\<userid>\AppData\Roaming\SAS\EnterpriseGuide\7.1\EGOptions.xml)

 

It sounds like your Citrix environment is not preserving updates to that file between sessions, thus changes to your EG options are lost.

 

Casey

Super User
Posts: 10,594

Re: Suppress the GOPTIONS statement

Hint: it's not necessary to wrap screenshots in a Word document. Save the screenshot as .jpg or .png and use the "Photos" button to insert them in your post.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
New Contributor
Posts: 4

Re: Suppress the GOPTIONS statement

Posted in reply to KurtBremser
Thanks for the hint! I was already wondering if this was the only solution Smiley Happy.


Ask a Question
Discussion stats
  • 7 replies
  • 175 views
  • 0 likes
  • 4 in conversation