SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

How to check server where SAS DI is working on?

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 11
Accepted Solution

How to check server where SAS DI is working on?

Hi All,

 

How can I figure out on which server SAS DI currently works?

In my case SAS uses several servers which are chosen randomly and I don't know which one is currently used.

 

I was trying to run code:

%put _GLOBAL;

but there is no sever name given by it.

 

Regards,

 

Piotr

 

 


Accepted Solutions
Solution
‎03-30-2018 03:43 AM
Respected Advisor
Posts: 4,702

Re: How to check server where SAS DI is working on?

Posted in reply to Peter_Wine

@Peter_Wine

If you don't get with %put _GLOBAL_; or %put _all_; what you need then what's the problem to get the info in other ways like.

%put %sysfunc(grdsvc_getname(task1));

 

View solution in original post


All Replies
Respected Advisor
Posts: 4,702

Re: How to check server where SAS DI is working on?

Posted in reply to Peter_Wine

@Peter_Wine

Assuming that you're talking about a Grid environment the following could help.

http://support.sas.com/documentation/cdl/en/gridref/67371/HTML/default/viewer.htm#n1acy8243rz7ezn179...

Occasional Contributor
Posts: 11

Re: How to check server where SAS DI is working on?

@Patrick thanks for answer but it doesn't give answer I need.

 

I'd like to get the same info which is printed by command:

%put _GLOBAL_;

 

answer should be like this:

GLOBAL _SASHOSTNAME 'server_name'

 

Or why when I run command

"%put _GLOBAL_;"

option

"GLOBAL _SASHOSTNAME 'server_name' "

is not printed?

 

Regards,

 

Peter

 

Solution
‎03-30-2018 03:43 AM
Respected Advisor
Posts: 4,702

Re: How to check server where SAS DI is working on?

Posted in reply to Peter_Wine

@Peter_Wine

If you don't get with %put _GLOBAL_; or %put _all_; what you need then what's the problem to get the info in other ways like.

%put %sysfunc(grdsvc_getname(task1));

 

Occasional Contributor
Posts: 11

Re: How to check server where SAS DI is working on?

Thanks:

%put _all_;

 

works fine.

 

Regards,

 

Peter

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 146 views
  • 0 likes
  • 2 in conversation