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;