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

if you can please help,

 

i am trying to start sas from command line (Linux) (not a batch program like "sas test.sas") and wants to run proc setinit on specific server - how can i do that?

 

i tried starting sas via "sas -nodms" but didn't help,

 

Thank you ------

1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
PROC Star

Do you have X Windows sessions available to you? That is probably the easiest. Otherwise batch mode, or interactive line mode are the other options:

 

http://support.sas.com/documentation/cdl/en/hostunx/69602/HTML/default/viewer.htm#p06feacuk4o11rn1ti...

 

You would need to log into remotely to each SAS app server in the grid to do the above. 

 

 

View solution in original post

7 REPLIES 7
SASKiwi
PROC Star

Why do you want to run the SAS setinit from the command line? You can post the setinit code into Display Manager SAS (easiest) or run it as a batch job.

woo
Barite | Level 11 woo
Barite | Level 11

have grid environement and trying looking at what products installed on each server so far, 

SASKiwi
PROC Star

PROC SETINIT won't tell you what products are installed, just those that are licensed - you can be licensed for a product but not have it installed.

 

PROC PRODUCT_STATUS will tell you what foundation products are installed:

 

http://support.sas.com/documentation/cdl/en/proc/70377/HTML/default/viewer.htm#p167ky4zsoxrn2n1myz6i...

 

woo
Barite | Level 11 woo
Barite | Level 11

thanks,

but how can i execute on specific server to know about it?

 

SASKiwi
PROC Star

Do you have X Windows sessions available to you? That is probably the easiest. Otherwise batch mode, or interactive line mode are the other options:

 

http://support.sas.com/documentation/cdl/en/hostunx/69602/HTML/default/viewer.htm#p06feacuk4o11rn1ti...

 

You would need to log into remotely to each SAS app server in the grid to do the above. 

 

 

Peter_C
Rhodochrosite | Level 12
Isn't there a way to remotesubmit across the whole grid?
I would expect one of tbe automatic macro variables to identify the individual node.....
woo
Barite | Level 11 woo
Barite | Level 11

i think below test went fine,

 

sas  -nodms

proc product_status; run;

 

to terminate,

ctrl+D or "T" to terminate - and then - "Y" to terminate current sas session,

 

 

thanks a lot SASKiwi, Peter.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 7 replies
  • 2070 views
  • 0 likes
  • 3 in conversation