SAS Viya

SAS Viya’s AI-based automation aligns to the needs and talents of your team, keeping both models and progress in motion across the analytics life cycle.
BookmarkSubscribeRSS Feed
FabriceP
Fluorite | Level 6
Hello
I’m using SAS Viya 3.4.
I’m looking for the way to enable X command in SAS Studio 5.
Is there someone who can help me ?
Regards
Fabrice
7 REPLIES 7
Patrick
Opal | Level 21

@FabriceP wrote:
Hello
I’m using SAS Viya 3.4.
I’m looking for the way to enable X command in SAS Studio 5.
Is there someone who can help me ?
Regards
Fabrice

"Enable X Commands (Linux)" documented here.

Ramprakash
Calcite | Level 5

We are using sas viya 3.4 and couldnt get this working by adding the changes to the spawner_usermods.sh.   Do we need to do any changes to the cntrl server or just comp server will do?

alexal
SAS Employee

@Ramprakash ,

 

In SAS Viya 3.4 the SAS Compute Server does not support X commands.

FabriceP
Fluorite | Level 6

Hello

You need to upgrade to Viya 3.5 😞 to get it working

Ramprakash
Calcite | Level 5

Thanks all for the information.

very surprised as this SAS link details on enabling XCMD in viya 3.4

https://go.documentation.sas.com/?docsetId=calsrvpgm&docsetTarget=n00003viyaprgmsrvs00000admin.htm&d...

 

So we would be able to use XCMD on compute only or we can run OS commands on other servers 

like control and worker nodes once this is enabled?

 

What I am trying to achieve is if i am able to run some system commands  on all the servers(like compute , cntrl and worker nodes) from SAS studio in same session. say checking memory or how many processes are running and using the information in scripts. 

I feel sometimes this would be handy instead of opening ENV manager and looking visually.

BrunoMueller
SAS Super FREQ

Please note that in SAS Viya 3.4 you actually have two versions of SAS Studio.

url .../SASStudioV/... this is SAS Studio 5.1 using a SAS Compute Server to run your code, it is integrated in the the application menu, top left, 3 vertical lines

url .../SASStudio/... this is SAS Studio 4.4 using a SAS Workspace Server to run your code, it is not integrated with the application menu, your link mentioned refers to this

 

the following macros vars give you more details:

%put NOTE: &=SYSVLONG;
%put NOTE: &=SYSSCPL;
%put NOTE: &=SYSPROCESSMODE;
%put NOTE: &=SYSPROCESSNAME;

%put NOTE: &=_CLIENTAPP;
%put NOTE: &=_CLIENTAPPVERSION;
%put NOTE: &=_CLIENTMODE;

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Discussion stats
  • 7 replies
  • 4893 views
  • 0 likes
  • 5 in conversation