Introduction

The Robot Schedule AUTOWORK program allows you to run jobs that were missed while Robot Schedule was inactive. You can schedule the program in a Robot Schedule job or call it from a command line.

Using AUTOWORK

Enter the following program call to run any jobs that were missed while Robot Schedule was inactive:

CALL PGM(ROBOTLIB/AUTOWORK) PARM('date')

where date is the date on which the jobs were missed. Enter the date in your system date format.

Or, create a Robot Schedule job to call the program and use the reserved command variable @@DATE to supply the current system date, no matter when the job runs.

Note: You must include the single quotes (' ') around the date, whether you enter the date or use the @@DATE reserved command variable.

The date you enter determines the jobs that will run:

  • Todayʼs Date - If you enter today’s date, Robot Schedule runs missed jobs that were scheduled from midnight (00:00) to the current time.

  • Earlier Dates - If you enter an earlier date, Robot Schedule runs missed jobs that were scheduled from midnight (00:00) to 23:59 on that date only. It does not run missed jobs from any other date. If you need to run missed jobs for more than one date, enter each date separately. Note: AUTOWORK relies on completion history to perform an accurate check. Purged history records can make a job appear to have been “missed” when it actually ran.

  • Multiple Runs - If a job is scheduled to run at more than one time on the date you specify, Robot Schedule runs each missed job only once, even if it has missed more than one run time. If a job with multiple run times has completed once successfully on the specified date, it's not listed as “missed” and AUTOWORK does not run it again.

 


Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: July 19, 2019