BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
xxformat_com
Barite | Level 11

Hi,

 

We use proc options, to list the values of global options.

Is there a similar procedure to list the values of procedures' options, etc.

e.g. how can I find out which value for "version=" option is used by the xlsx engine for a given installation beside looking at the SAS online doc?

 

Best Regards

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

@xxformat_com wrote:
Thanks for the support. I guess I have not formulate properly my request.
I'm not looking at the SAS installation product version
but at procedures' options default value and sas excel... engine default/actual options.

eg. libname ... excel '....xlsx' version=???;
what is the default/actual version used here? can I find it using a program?

The answer is NO.   In general since you are writing the code just remember what you wrote.

%let print_noprint = noprint;
proc sql &print_noprint;
...

Procedures are written to preform what they perform.  There is no concept of telling you want they are doing.  You tell them what to do.

 

There is some metadata available for LIBREF and FILEREF values by querying the DICTIONARY tables, but they do not normally have all of the options.  But you should be able to find out what path they are pointing to.

View solution in original post

5 REPLIES 5
xxformat_com
Barite | Level 11
Unfortunately not.
JerryV
SAS Employee

How about the function tslvl().  https://go.documentation.sas.com/?docsetId=hostunx&docsetTarget=p0fjexseegel6tn1w5solsj5gofg.htm&doc... 

 

If you're using EG you can:  

data a;
set _prodsavail;
licensed=sysprod(prodcode);
  do option='A', 'D', 'E', 'F', 'H', 'I', 'M', 'P', 'S', 'T' ;
    tslvl = tslvl(prodmod,option);
        output;
  end;
run; 

Otherwise try:

data b; 
prodcode='prodnum208';	prodmod='sasdbf';
  do option='A', 'D', 'E', 'F', 'H', 'I', 'M', 'P', 'S', 'T' ;
    tslvl = tslvl(prodmod,option);
        output;
  end;
run;

 

 

xxformat_com
Barite | Level 11
Thanks for the support. I guess I have not formulate properly my request.
I'm not looking at the SAS installation product version
but at procedures' options default value and sas excel... engine default/actual options.

eg. libname ... excel '....xlsx' version=???;
what is the default/actual version used here? can I find it using a program?
Tom
Super User Tom
Super User

@xxformat_com wrote:
Thanks for the support. I guess I have not formulate properly my request.
I'm not looking at the SAS installation product version
but at procedures' options default value and sas excel... engine default/actual options.

eg. libname ... excel '....xlsx' version=???;
what is the default/actual version used here? can I find it using a program?

The answer is NO.   In general since you are writing the code just remember what you wrote.

%let print_noprint = noprint;
proc sql &print_noprint;
...

Procedures are written to preform what they perform.  There is no concept of telling you want they are doing.  You tell them what to do.

 

There is some metadata available for LIBREF and FILEREF values by querying the DICTIONARY tables, but they do not normally have all of the options.  But you should be able to find out what path they are pointing to.

SAS Innovate 2025: Call for Content

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!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 747 views
  • 1 like
  • 3 in conversation