Define job scheduling function (SHS030)

Note: You must first define the job schedule category in (SHS050) before you can proceed to define a job scheduling function.

A job schedule function must first be defined in 'Job Schedule Function. Open' (SHS030) before it can be scheduled in M3 BE Job Scheduler. The new job schedule function is inserted in the CSHFNC table. Job schedule functions can be defined for all users or for specific users. To define job schedule functions for all users, leave the User field blank.

  1. Start 'Job Schedule Function. Open' (SHS030).
  2. Create a new record for a function, and, if necessary, for a user.
  3. Specify these information on the E panel:
    • Job schedule allowed

      The scheduling possibilities for the function. These values are valid:

      0 = Scheduling this function is not allowed

      1 = The function can be scheduled or run immediately

      2 = The function can only be scheduled

      3 = The function will be scheduled to run at the earliest time for the job category, without any user intervention.

    • Job schedule category

      The job schedule category that should be used with this function.

    • Program

      The program that is run by the function. This corresponds to the entry in the Command field in 'Function. Open' (MNS110).

    • Job

      The job name under which the batch job will be run, if the function you have selected starts a batch job.

      The program name that should be specified in this field is the CL-program. There can be some exceptions, such as whether OIS180 should be scheduled. In that case, the job name is OIS180S1. For most of the programs, it is the CL-program.

      Prior to a batch job being submitted, standard M3 programs call 'Job Attributes. Select' (MNS230) to see if there are job attribute overrides. One of the parameters passed to this program is the job name. This job name is used to find a job schedule function and check whether the job allows scheduling. If it does, the job scheduling panel is displayed for the user.

Related topics