BookmarkSubscribeRSS Feed
vfarmak
Quartz | Level 8

Greeting everyone,

 

I have a job scheduled via Windows Task Scheduler and I need to write a script which checks whether a specific job in SAS Server is running.

After a search in SAS documentation, I found out that a command exists that can display all the jobs running in a specific machine.

 

So I navigated via the command prompt to the SAS executables area in SAS Server and typed the below command:

SASGSUB -GRIDGETSTATUS ALL

I received the following response:

D:\Program Files\SASHome\SASFoundation\9.4>SASGSUB -GRIDGETSTATUS ALL

SAS Grid Manager Client Utility Version 9.46 (build date: Mar 27 2019)
Copyright (C) 2009-2017, SAS Institute Inc., Cary, NC, USA. All Rights Reserved

 ERROR: The SAS Application Server name is missing or invalid.
 ERROR: The GRIDWORK shared filesystem location is not specified or specifies an invalid location.

D:\Program Files\SASHome\SASFoundation\9.4>

Am i missing something? I also tried to type the command SASGSUB /? anticipating that instructions would appear on screen, but nothing happened.

Do you have any idea on this?

 

Thank you in advance.

 

1 REPLY 1
SASKiwi
PROC Star

Here is a link to the documentation for SASGSUB

 

The GRIDWORK option is required when using this command.

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!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 755 views
  • 0 likes
  • 2 in conversation