광고
광고
FORECASTING
Schedule Forecasting
A Robot SCHEDULE forecast shows you the run activity scheduled for all Robot SCHEDULE jobs over a time period you specify. To make its forecast, Robot SCHEDULE uses the job schedule, job completion history, and any information you add for user jobs, remote prerequisites, and members of remote groups. If you wish, the forecast can also include a run-time analysis of each active subsystem. The run-time analysis uses the subsystem’s description to predict job queue wait time.
Robot SCHEDULE creates a special internal forecast, *INTERNAL, automatically every time it starts and at 12-hour intervals at 11:00 and 23:00. The forecast is for 24-hour periods and is designed to be used by the Schedule Activity
Monitor (SAM) and Robot SCHEDULE job monitors. The Late start job monitor uses the *INTERNAL forecast to identify jobs that are late in starting. Because the *INTERNAL forecast is used by Robot SCHEDULE, you cannot modify or delete it. However, you can build a new *INTERNAL forecast at any time from the List view or from the Schedule Activity
Monitor. (You also can use the RBTBLDFCT command from a green screen command line). You can print the
*INTERNAL forecast from the Schedule Forecast print dialog.
You can view the forecast on the
window. The schedule forecast list shows each job scheduled to run during the forecast period with its start time and its expected run time. You can
by changing start times and run times, and by holding, releasing, and deleting jobs. These options allow you to perform “what if” scenarios without affecting your schedule.
If you wish, you also can
update the actual Robot SCHEDULE job record
. The update can hold or release the job or change its start time, but it cannot delete the job or change its run time.
See also:
Robot SCHEDULE 12 User Guide
- 121 -
Forecasting / Creating Forecasts
Creating Forecasts
The forecast is based on the job schedule, run history, and run-time analysis of each active subsystem. (The run-time analysis uses the subsystem’s description to predict job queue wait time.) You can schedule the build on Robot
SCHEDULE or build it in batch. The forecast period begins when the forecast is run and continues for the time specified, or the period defined by the start and end times.
To create a new job forecast:
1. Right-click Forecast Objects and select New. The Create Forecast window displays.
2. Enter a name and description for the forecast. If you accept the defaults (*GEN and *FCT), Robot SCHEDULE generates a name using a 10-character format. The first character is F (for forecast), followed by a 6-digit date using the date format of the job that builds the forecast, followed by a 3-digit sequence number. The description is identical to the forecast name.
Note: If you build a forecast using an existing forecast name, the new forecast overwrites the old one.
3. Define the time parameters for your forecast. You can choose from Forecast Length or Forecast Period:
Select Forecast Length to specify the length of time for the forecast in days (up to 999) or hours (up to
999). The forecast time period begins when the build is submitted.
Select Forecast Period to specify a date and time range. Enter the beginning and ending dates and times for the forecast.
4. The Create Forecast window lists the subsystems on your system that are currently active. You can add or remove subsystems that are included in the forecast.
To add a subsystem, click Add. If you select to add a subsystem, the Subsystem Finder displays so you can select a subsystem.
To remove a subsystem, select the subsystem and click Remove.
5. Click the Schedule button to schedule the forecast build in Robot SCHEDULE.
Robot SCHEDULE forecasts based on a run-time analysis of all of the subsystems listed.
Adding Non-Robot SCHEDULE Jobs to a Forecast
Initially, a forecast uses only the information from the Robot SCHEDULE job schedule and Robot SCHEDULE job completion history. For a more complete forecast, you can add other jobs that will run during the forecast period.
To add a job to the forecast, right-click Schedules for Forecasting and select New. Select the type of job you want to add from the Create Forecast Schedule window.
Adding Remote Prerequisite Jobs to a Forecast
If you are forecasting a job that has a prerequisite on a remote system, you can add the prerequisite job schedule to get a more accurate forecast.
1. Select Remote prerequisite on the Create Forecast Schedule window.
2. The Select a Job finder lists the jobs on all systems that are prerequisites to jobs on your system. Select the job you want to add to the forecast.
3. The Job Properties window for the selected job displays, allowing you to edit the schedule of the job.
4. Click OK when you are done to add the job to the forecast schedule.
Robot SCHEDULE 12 User Guide
- 122 -
Forecasting / Creating Forecast Schedules
Adding a Member of a Remote Group
If a job on the local system is a member of a remote group, you can include it in your forecast to make the forecast more accurate. (This does not forecast when the group will run on the remote system.)
1. Select Member of a remote group to display the Select a Job finder.
2. The Select a Job finder lists the Robot SCHEDULE jobs on your system. Select the job whose group control job is on a remote system.
3. The Job Properties window for the selected job displays, allowing you to edit the schedule of the job.
4. Click OK when you are done to add the job to the forecast schedule.
Adding a User Job
1. Select User job to display the User Job Information dialog.
2. Enter the name and description of the job you want to add to the forecast.
3. The Job Properties window for the selected user displays. Use the window to add the schedule of the job.
Creating Forecast Schedules
Use the Create Forecast Schedule window to add a schedule to the forecast for jobs with remote prerequisites, jobs that are members of a remote group, user jobs (jobs outside of Robot SCHEDULE), agent events (monitors on agent systems), or event monitors (monitors on the IBM i system).
To create a new forecast schedule:
Right-click Schedules for Forecasting and select New. The Create Forecast Schedule window displays. Choose one of the following options:
Select Remote prerequisite if you are forecasting a job that has a prerequisite on a remote system. By adding the prerequisite job schedule, you'll get a more accurate forecast.
Robot SCHEDULE 12 User Guide
- 123 -
Forecasting / Schedule Forecast List
Select Member of a remote group if a job on the local system is a member of a remote group. Including the remote group member makes the forecast more accurate.
Select User job to add a user job to the forecast. A user job is a job that runs outside of Robot SCHEDULE. Enter the User Job Name and Description for the for the Forecast Schedule you are creating.
Select Agent Event to
add an agent event monitor to the forecast . It monitors for an event (file/directory change,
process started/ended) that occurs on an agent system connected through Robot SCHEDULE Enterprise.
Select Event Monitor to
add an event monitor to the forecast
. It monitors for an event (file/directory/member change) that occurs on the IBM i system you're connected to.
Schedule Forecast List
The Schedule Forecast List window displays each job scheduled to run during the forecast period with its start time and expected duration. The expected duration is a moving average of the job’s past run times. You can adjust the forecast by changing its start times and duration. You can also update the actual Robot SCHEDULE job record to hold or release the job or change its start time.
Use the Subsystem, Job Queue, and Data Filters to display only the jobs you want to see.
Right-click a job in the table to display the following menu options for working with the job:
Edit Forecast Properties: You can change the start times and duration for a job on the Forecast Properties dialog.
Changes you make to these values are stored with the forecast; they are not used when you build a new forecast.
Note: If you change any information in this window, you should recalculate the forecast (see Recalculating a
Forecast, later in this section).
Remove From Forecast: You can remove a job from the schedule forecast. You should recalculate the forecast if you remove a job.
Job Run History: Select Job Run History to display the Job Run History window. The information shown includes details about the job’s start date and time, the actual elapsed time, and the forecast elapsed time. You can change the forecast elapsed time for the job. This is useful if the job’s average duration is skewed because of a particularly short run due to abnormal termination or a long run due to various reasons and you want to use its normal run time in the forecast. Robot SCHEDULE uses the average of the run times stored in history to calculate the run time for this job when you build a new forecast.
To change the elapsed time for the forecast, select a forecast, right-click, and select Edit Forecast Elapsed Time.
Use the Forecast Properties window to enter the new elapsed time you want the forecast to use.
Recalculating Forecasts
Anytime you change the start times or duration for jobs, or the actual jobs contained in the schedule forecast, you should recalculate the forecast. This process may take some time.
To recalculate a forecast, select the forecast and select Recalculate. A confirmation dialog box displays asking you to verify that you want to start the recalculation process.
Robot SCHEDULE 12 User Guide
- 124 -
Forecasting / Deleting Old Forecasts
Deleting Old Forecasts
There are three ways to delete forecasts:
To delete multiple forecasts older than a certain number of days, right-click Schedule Forecasting or Forecast
Objects from the Tree view and select Delete Old Forecasts. Enter the number of days to retain forecasts on the
Delete Old Forecasts dialog.
To delete individual forecasts, select Forecast Objects from the Tree view, right-click a forecast and select
Delete. A confirmation dialog box displays asking you to confirm the deletion.
You can schedule the RBTDLTFCT command in Robot SCHEDULE. See the Robot SCHEDULE Green Screen
User Guide for complete information on the RBTDLTFCT command.
To delete multiple forecasts beyond a certain age, right-click Schedule Forecasting or Forecast Objects and select
Delete Old Forecasts. Enter the number of days for which you want to retain forecasts on the Delete Old Forecasts dialog.
To delete an individual forecast, right-click a forecast and select Delete. Click Yes to confirm the deletion.
Forecast Properties
Use the Forecast Properties window to change the duration and start times for jobs. The changed duration and start times are used when you recalculate the schedule forecast.
Printing Forecasts
To print a forecast:
1. Select Forecast Objects from the Tree view, right-click the forecast and select Print Forecast.
2. Enter the name of the forecast you want to print, its subsystem and job queue, and the output queue for the forecast.
3. Click the Schedule button to schedule the report job in Robot SCHEDULE.
4. Click the Submit button to submit the report job.
Forecast Schedule Job
You can create a Forecast Schedule job using the Initial Job Setup,
, and
tabs on the Job Properties window.
Initial Job Setup Tab
Job Type
Display only. The default value is Forecast Schedule.
Robot SCHEDULE 12 User Guide
- 125 -
Forecasting / Forecast Schedule Job
Application
Enter the name of the application to be associated with the job (optional).
Schedule Override
Robot SCHEDULE lets you override the normal run schedule for a job as needed. Enter a
to override the run schedule for the job.
Notes
Enter job notes (up to 56 characters).
Scheduling Tab
Scheduling Method / Days and Times to Submit Job
Select one of the following scheduling methods for the job.
Note: The method you select determines what displays (how you enter run dates and times) on the Scheduling tab.
Weekly or Monthly
Select the days of the week and the
INDAY - Daily Interval
Select the start date for the job. Enter the job interval (run every x days), and the type of day on which to run. Then, enter the times you want the job to run.
EVERY - Timed Interval
Select to run a job regular time intervals from 5 to 1429 minutes. Select the days of the week or week of the month on which you want the job to run. If you don't select a day, the job will run each day every week.
DATE - Date Object
Enter a date object name or click the Finder button to select one. Then, enter the times you want the job to run.
DAYNO - Days of the Month
Enter the days of the month on which you want the job to run. Choose the type of day on which to run. Then, enter the times you want the job to run.
Control Tab
Job Submission
Job Description
Enter the job description for the job. The job description must be for a batch job. Click the Finder button to display a list of job descriptions. Select *RBTDFT to use the job description listed in the Environment for this job. Select *USRPRF to use the job description attached to the user profile for this job.
Job Queue
Enter the job queue to which Robot SCHEDULE should submit this job. Click the Finder button to display a list of job queues. Select *JOBD to use the job queue specified in the job description. Select *RBTDFT to use the job queue listed in the Environment for this job.
Robot SCHEDULE 12 User Guide
- 126 -
Forecasting / Forecast Schedule Job
Message Queue
Enter the message queue that should receive the message returned by SBMJOB when the job completes. This is the
IBM completion message; it is not a Robot SCHEDULE message. Click the Finder button to display a list of message queues. Select *NONE if you do not want the message returned. Select *RBTDFT to use the value specified in the
Environment for the job. Select *USRPRF to use the message queue attached to the user profile for this job.
Library List
The Robot SCHEDULE Library List Management system lets you enter a list of libraries under a library list name. If you have defined library list names, enter the name of the library list to be used by the job. Before it runs the job, Robot
SCHEDULE sets the library list for the job to the libraries in the list. Click the Finder button to display a list libraries.
Select *JOBD to use the library list specified in the job description. Select *RBTDFT to use the library list specified in the
Environment for the job.
Message Reply
Select a message reply option. Your selection tells Robot SCHEDULE what to do if a job sends an error message that requires a reply.
Select *RBTDFT to use the message reply value specified in the Environment for the job (this is the default selection).
Select *DFT to have Robot SCHEDULE use the default message reply, which usually cancels the job. Use this option if you want the job to run unattended. Select *RQD to specify that an operator must reply to the message. Use this option if tapes must be mounted or if nothing else should run if this job halts with an error message. Select *SYSRPLY to have
Robot SCHEDULE check the system reply list for the appropriate reply. Note: We do not recommend this option.
Instead, use Robot CONSOLE, our message, resource, and log management system, for sophisticated unattended message handling. Select *JOBD to have Robot SCHEDULE use the message reply option in the job description.
User Profile
Enter the user profile under which the job should run (you must be authorized to the profile). Notes: This user profile must have authority to all objects this job uses for processing, but it cannot be QSECOFR, RBTUSER, or RBTADMIN.
Select *JOBD to use the user profile specified in the job description by its USER parameter. Select *RBTDFT to use the user profile listed in the Environment for this job.
Job Priority
Select the priority (1-9) to be given the job on the job queue. Select *JOBD to use the job priority specified in the job description. Note: The highest priority you can enter is determined by the Highest Priority Scheduling field on your user profile. At job submission, the IBM i verifies that the submitting user profile has sufficient scheduling priority. If not, the user's Highest Priority Scheduling value is used.
Job Switches
Enter job switches.
Current Library
Enter the library to be used as the current library for the job. The value you enter is substituted when the job actually runs. Click the Finder button to display a list of libraries. Select *CRTDFT if you don't want a current library designated.
Select *RBTDFT to use the current library listed in the job's Environment.
Accounting Code
If you are using Robot CPA or the job accounting journal to record job statistics, enter the account code to which the statistics for this job should be assigned. Select *RBTDFT to use the accounting code specified in the job's Environment.
Select *JOBD to use the accounting code specified in the job description. Select *USRPRF to use the accounting code attached to the user profile for this job.
Robot SCHEDULE 12 User Guide
- 127 -
Forecasting / Forecast Schedule Job
Initial ASP Group
Enter the initial ASP group. Enter *RBTDFT to use the ASP group specified in the job's environment. Enter *NONE if there isn't an initial ASP group.
Job Control
Robot ALERT Device
If you have Robot ALERT installed, enter name of the device to which a message should be sent if the job terminates abnormally. Click the Finder button to display a list of Robot ALERT device names. Select *RBTDFT to use the device name from the job's Environment.
Historical Runs
Enter the number of runs to be maintained in Job History. Job History also is used to determine the average run time for this job. The average run time is used when forecasting (see Schedule Forecasting). Robot SCHEDULE also uses the value specified in this field when performing an automatic purge of completion history (see System Setup).
Calendar
Enter the name of the calendar the job should follow when determining working and non-working days, and fiscal month-ends. Click the Finder button to display a list of available calendars. Select *RBTDFT to use the calendar from the job's Environment.
Robot AUTOTUNE Pool Size
If you are using Robot AUTOTUNE, our performance tuning and monitoring software, enter the size (in Kilobytes) of the memory pool in which the job should run. You can enter up to 11 digits. Use this value to control the amount of system resources this job can use and thus, how fast the job runs. Note: This value does not default to the value in the
Environment for the job.
Environment
Enter the name of the Environment for the job. Click the Finder button to display a list of environment names. Note: You must set up Environments before they can be selected.
Maximum Run Duration
Enter the maximum run time for the job (1 to 1439 minutes). Leave the blank if you want the job to run without a time limit. Notes: This option allows you to use the Maximum Run Duration field to tell Robot SCHEDULE what to do when a job runs too long. You can have Robot SCHEDULE end the job or continue running it. If it continues running, Robot
SCHEDULE can send a warning status record and a Robot ALERT message. That way, if a job takes an unusually long time to run, you will be warned and you can take corrective action to adjust the schedule.
Maximum Run Action
When the job has run for the number of minutes specified in the Maximum Run Duration field, Robot SCHEDULE takes the action specified in this field.
Select Warning Status to allow the job to continue running, send a warning message to the message queue listed on this window, and create a warning status record.
Select Warn & Page to allow the job to continue running, send a warning message to the message queue listed on this window, create a warning status record, and send a message via Robot ALERT.
Select End the Job to cancel the job when it reaches the maximum run duration. Notes: Before selecting this option, consider the possible problems that could result from cancelling the job before it has finished processing. If you specify the option to end the job, another job is submitted to batch to end it.
Robot SCHEDULE 12 User Guide
- 128 -
다운로드
광고