where is the documentation for setting the options in eg43 by submitting sas code? i could not locate it in the 93 dvd or the eg help. specifically, i could not find the syntax for something like:
options resultformatHTML;
or something like that (i assume sas institute has this somewhere). as with all guis, it is impractical to reproduce and document the desired settings for a point and click gui; therefore, solutions that include clicking little boxes are inadequate.
Enterprise Guide is a high-level tool that makes the SAS software easier to use for non-SAS programmers. Under the covers, EG is usually creating and submitting SAS code. So anytime you're using a program editor window, or specifying SAS code to be run before or after tasks, you're using the SAS programming language.
SAS makes an extensive reference for the language available online at http://support.sas.com
On the left, select the "Documentation" tab under the "Knowledge Base".
For quickly looking up syntax details, like in your question, the "Programmer's Bookshelf" is an excellent resource.
Tom
hi, tom - thank you for trying to help out here! however, of course, i already searched. in case i was unclear, or too brief, the item i wish to submit as code is the gui action of clicking through the gui options the "Results General - Result Formats - x HTML / default HTML / un-x others" it is highly impractical to document or expect users to leave settings alone when then run eg43. therefore, i want to submit code that will set this option. i found no existant syntax within the statement options in any sas documentation, and presume that it is hidden somewhere, although it is possible that sas inst did not create any syntax for this. it is critical because of reserved characters in microsoft office2010 that causes a splash screen error message.
Now I understand what you want. I must admit, I don't know how to do exactly what you want, but have you looked at setting up a task template? I don't have any experience with them myself, but I believe they are intended to let you "pre specify" a bunch of options, and let the user change them as needed.
Tom
hi, tom - i knew of the existance of task template "task template," but also have not used. i will look into that and see if it can be accomplished. whatever it is must sneak in before programs are run. also a possibility is something in a config file. nothing from sas inst officially yet...
Isn't that the equivalent of submitting the following in BASE SAS
ods _all_ close;
ods html;
hi, reeza - thank you for trying to help! those are not the same, this is a special character conflict that only occurs in eg43 (maybe other versions) due to a gui setting. i am seeking to find the code to submit this instead of relying upon a gui point/click.
i forgot to add that it is definitely different because this is only the default output setting. the programs that will run will never use ods html. but, i will see if for some quirky reason the ods approach works, although
ods_all_ close;
can shut off things like proc printto inadvertantly, so one needs to exercise caution...
hi, again, reeza! i am testing - your answer is half correct, so far the first line
ods _all_ close;
seems to reset everything. i am going through the combinations and output to see if everything works. in my code, i have proc printto and ods pdf which seems ok. unsure about the code between your line of code and the first printto / ods appearance...i will reply back after testing.
hi, it looks like, unfortunately, the only solution is to point/click. reeza's noble suggestion fails in eg because it shuts off everything, including other output and listings. also needed is:
OPTIONS DEV=ACTXIMG;
to ensure no meaningless but annoying warning splash screens associated with pdf output files.
additionally, careful and precise use of:
ODS pdf (id=<id>) EXCLUDE none;
and related, is also mandatory.
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 16. 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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: