Previous Topic

Next Topic

Book Contents

Book Index

Resource requirements

Each job in the SCHEDULE database can specify either or both disk space and a file requirement. If more then one file or one disk is required, multiple job entries can be strung together. The first job, once requirements are satisfied, initiates a second job which then waits for another set of requirements. 1

The disk space requirement is specified as the amount of disk space that must exist on a specified disk before the job is allowed to proceed to the next scheduling state.

For example to set the disk space requirements:

  1. Open the Job Properties page either by right clicking on the job in the layout window or in the tree view.
  2. Select the Settings tab.
  3. Enter the disk to be checked for the requirement in the On this disk field.
  4. Enter the amount of disk space required in the Disk blocks field.

For a command line example, with a job that must have 100 megabytes of space on C: before starting, use the following command.

C:\> schedule modify analysis_job/resource=disk:(C:,100)

The file requirement is specified as a single file that must be found on the system before the job is allowed to proceed to the next scheduling state.

For example to set a file as being a required resource for a job:

  1. Open the Job Properties page either by right clicking on the job in the layout window or in the tree view.
  2. Select the Resources tab.
  3. Click on the Resource requirements button and click on Add...
  4. Select check for a file and then wait if not found and enter the file name as shown below.

For example to have this same job not start until the input file C:\autoexec.bat is present, use the following command.

C:\> schedule modify analysis_job/resource=file:c:\autoexec.bat

See Also

Job characteristics

Startup window

Execution window

Auxilliary Command files

Job sets

Retry Limit

Access controls

Default job entry

Reports