Help/Systems SEQUEL Software PowerTech Skybot Software
Help/Systems
The World's Leader in IBM iSeries Software Solutions

Scheduling a BPCS Job Using Robot/SCHEDULE

You can schedule your BPCS jobs in Robot/SCHEDULE by scheduling a CL program that sets up the local data area and calls the BPCS program with the appropriate parameters. The basic steps in the process are as follows:

  1. Find the name of the BPCS program and get its parameter list. If you have the BPCS source, you can find the calling information there. Otherwise, you could submit the BPCS job and then, while the job is running, find the command and parameters in the job log.
  2. Code the CL program shown in the following example, replacing the final program call with your BPCS program call.
  3. If you do not want the job submitted from the BPCS screen, use BPCS security to lock out users from that screen.
  4. Schedule the CL program in ROBOT.

The following is an example of how this is done.

  1. Determine the Program Parameters
  2. The following is a BPCS screen that you would use to interactively enter the parameters for the MRP Exception Report. These same parameter values will be used on the program call.

  3. Code a CL Program to Run the Report
  4. To schedule the same report in ROBOT, you would first code the following CL program and then schedule that program in ROBOT. The CL program sets up the LDA and calls the program to run the report.

  5. Schedule the CL Program on ROBOT
  6. Schedule the CL program as a job in ROBOT by filling in the Initial Job Setup panel as shown below. As scheduled here, ROBOT will submit the job every Friday at 6 pm.

    Check the Control Options panel to make sure that ROBOT will find the program in the library list. ROBOT searches the libraries in the library list named on the panel. For more information, see Library Lists in the ROBOT User Guide.