User Tools

Site Tools


tracking_batch_jobs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tracking_batch_jobs [2019/02/13 21:00] – initial commit lrickertracking_batch_jobs [2019/02/13 23:29] (current) lricker
Line 21: Line 21:
 Take a look at the ''SHOW QUEUE'' command's ''/BY_JOB_STATUS'' qualifier.  It produces output which is filtered by job-status category, i.e., ''EXECUTING'', ''HOLDING'', ''PENDING'', ''RETAINED'' or ''TIMED_RELEASE'' And, of course, you can specify a queue by name to further limit/filter the output. Take a look at the ''SHOW QUEUE'' command's ''/BY_JOB_STATUS'' qualifier.  It produces output which is filtered by job-status category, i.e., ''EXECUTING'', ''HOLDING'', ''PENDING'', ''RETAINED'' or ''TIMED_RELEASE'' And, of course, you can specify a queue by name to further limit/filter the output.
  
-So, for example, to see what's running right now in batch:+So, for example, to see what's running (''EXECUTING''right now in batch:
  
 <code> <code>
Line 30: Line 30:
   Entry  Jobname         Username             Status   Entry  Jobname         Username             Status
   -----  -------         --------             ------   -----  -------         --------             ------
-    385  FTP_TO_NSA      JBOND                EXECUTING+    385  FTP_TO_QBRANCH  JBOND                EXECUTING
 </code> </code>
  
Line 42: Line 42:
   Entry  Jobname         Username             Status   Entry  Jobname         Username             Status
   -----  -------         --------             ------   -----  -------         --------             ------
-   9794  FTP_TO_KGB      MSMART               Holding until 13-FEB-2019 22:30:00.00+   9794  FTP_TO_CHAOS    MSMART               Holding until 13-FEB-2019 22:30:00.00
          Submitted 13-FEB-2019 08:08:09.61 /KEEP          Submitted 13-FEB-2019 08:08:09.61 /KEEP
          /NOPRINT /PRIORITY=50          /NOPRINT /PRIORITY=50
-         File: _DSA2:[MSMART.TOPSECRET.SCRIPTS]FTP_TO_KGB.COM;13+         File: _DSA2:[MSMART.TOPSECRET.SCRIPTS]FTP_TO_CHAOS.COM;13
  
   ...  (lots more output, redacted) ...   ...  (lots more output, redacted) ...
 </code> </code>
 +
 +Use the ''/FULL'' qualifier to chase down what DCL command file (script) is actually submitted for each particular batch job; omit that qualifier for a more concise listing.
  
 ==== Make a Command Symbol ==== ==== Make a Command Symbol ====
Line 58: Line 60:
 </code> </code>
  
-Be sure that the qualifier /BY_JOB_STATUS= appears last in this command alias, so that you can use it like this:+Be sure that the qualifier ''/BY_JOB_STATUS='' appears last in this command alias, so that you can use it like this:
  
 <code> <code>
 $ qstat exec $ qstat exec
 ... or ... or
-$ qstat hold+$ qstat hold /FULL   ! the /FULL qualifier works fine after the "hold" for /BY_JOB_STATUS= 
 +... or even 
 +$ qstat (hold,pending) /FULL 
 +</code>
  
-xxx+There... Makes checking on your batch jobs a bit easier, eh?
tracking_batch_jobs.txt · Last modified: 2019/02/13 23:29 by lricker

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki