Desktop productivity for business analysts and programmers

viewing log/results in EG of jobs submitted to grid

Reply
Occasional Contributor
Posts: 5

viewing log/results in EG of jobs submitted to grid

[ Edited ]

 

is there way to view in EG the status of a SAS job submitted to the Grid  ?  the local log and output window are not returned/displayed.  one can't tell if job completed or not or if errors encountered.  

SAS Employee
Posts: 9

Re: viewing log/results in EG of jobs submitted to grid

Posted in reply to larnzsword

The SAS log should actually return any errors/warnings and even tell you on which node in the Grid.  What version of SAS EG are you running?

 

 

Occasional Contributor
Posts: 5

Re: viewing log/results in EG of jobs submitted to grid

Posted in reply to george_georgiou

 

SAS version: 9.04.01M4P110916

EG version: 7.12 (7.100.2.3350) (32-bit)

 

Super Contributor
Posts: 621

Re: viewing log/results in EG of jobs submitted to grid

Posted in reply to george_georgiou

How to find in the log to know in which node the job has failed?

Occasional Contributor
Posts: 5

Re: viewing log/results in EG of jobs submitted to grid

Posted in reply to george_georgiou

@george_georgiou, @JuanS_OCS, @Babloo

 

thanks all for you replies. 

 

just wondering why my SAS code submitted to the Grid does not return anything either the log or output.  something to do with our SAS setup ?     SAS tutorial using EG shows log results displayed after code submitted to the Grid.  hope someone can explain what's going on. 

 

SAS Employee
Posts: 9

Re: viewing log/results in EG of jobs submitted to grid

Posted in reply to george_georgiou

You might actually have the option turned off inside the EG options.

 

Try this and let me know if you get your SAS log:

 

Open SAS Enterprise Guide > go to Tools > Options > Results > Results General > make sure the option "Show generated wrapper code" is checked.

 

 

 

Occasional Contributor
Posts: 5

Re: viewing log/results in EG of jobs submitted to grid

Posted in reply to george_georgiou
thanks. going to try it and report it here.
Occasional Contributor
Posts: 5

Re: viewing log/results in EG of jobs submitted to grid

Posted in reply to larnzsword

@george_georgiou

 

My settings are fine.

 

I may have misstated about LOG part.  I got something in the log:  

 

NOTE: Remote signon to GRID1 complete.

35 rsubmit grid1 persist=no;

5 The SAS System 12:44 Friday, November 17, 2017

NOTE: Background remote submit to GRID1 in progress.

 

However, query results were not returned back to EG.

 

Here is SAS code (copied from SAS tutorial) submitted:

 

%let jnvar = lte_2017c;

 %let rc=%sysfunc(GRDSVC_ENABLE(_ALL_,SERVER=SASApp; jobname=jnvar));

 

signon grid1 connectwait=no;

rsubmit grid1 persist=no ;

 

MY SAS CODE

 

endrsumit;

 

And that's it.

 

 

That's it.

Trusted Advisor
Posts: 1,718

Re: viewing log/results in EG of jobs submitted to grid

Posted in reply to larnzsword

Hello @larnzsword,

 

I don't think sas EG is the best tool for that. However, there are tools out there that will help with that question and many others (as performance, monitoring, killing sessions, etc). My favourite is the Enterprise Session Monitor (aka ESM provided by Boemska.

 

You can find more information at 

https://boemskats.com/esm/

https://communities.sas.com/t5/Administration-and-Deployment/dash-board-to-monitor-all-the-running-j...

 

And I am sure @boemskats can provide you more information.

 

Hope it helps.

 

Kind regards,

Juan

Ask a Question
Discussion stats
  • 8 replies
  • 351 views
  • 1 like
  • 4 in conversation