01-28-2014 07:25 AM
In LSF scheduler I have 15 jobs in one flow I need all jobs statistics in one table for client view like Job name, Start time, End time, Total time, Status. Is any option in LSF to get all statistics in single view. pls help me bit urgent.
01-28-2014 08:05 AM
I don't know about LSF, but if you are using LSF in conjunction with DI Studio, there are plenty of tools for generate code that logs job execution.
A part from the documentation, there is a quite fresh thread on the matter:
11-26-2014 08:27 AM
Hi We have created 2 small sas scripts and added them in sasbatch.sh.
These get the flowname, jobname, flowid and job id from the unix environment.
The first call has 0 as returncode, the second run takes the returncode from the real sas job.
In the sasscripts, the environment variables are sent to a table, which is the basis for all sorts or reporting.
With naming conventions you can build a framework.
Code to get the commandline of the flow-job-subjob:
%let host = %sysget(HOST);
%let jobid = %sysget(LSB_JOBID) ;
%let v_flow_job = %sysget(LSB_JOBNAME);
%put v_flow_job = "&v_flow_job";
%let ljob_rc= &sysparm;
host = "&host";
jobid = "&jobid" ;
jobfullname = "&v_flow_job" ;
Some of these are only available when a job is scheduled: with the LSB prefix.
sysparm is to get the returncode.
BTW: our missing link is getting the scheduled time in, probalby from metadata.
06-23-2016 12:08 PM