Run scheduling - Schedule information

Note: You must first define the job schedule category and a job schedule function before you can run scheduling.

When a user runs a function that is defined in M3 BE Job Scheduler with scheduling allowed, two new panels are displayed for the user before the job is submitted. These are panels (SHS230/E) and (SHS231). Here, the user decides the times and frequency with which the function is run.

Note:  When scheduling a job for the first time, the dates specified in the selection screen are used. It is when the following run is scheduled first in CSCHJOB that the dates are adjusted according to the movement parameter. Programs 'Material Plan. Calculate Regenerative' (RPS999), 'Material Plan. Re-calculate' (MMS999), and 'Product. Re-create Lowest Levels' (PDS910) are not allowed to be scheduled repetitively.

The function will be scheduled to run at the dates, times, and frequency that you specified. The information about when the function is run is stored in CSHHED and CSHDAT.

  1. Select a function that is defined in M3 BE Job Scheduler (with scheduling allowed). Panel E in 'Job Schedule Information. Open' (SHS230) is displayed.
  2. Specify these information on the E panel:
    • Schedule type

      Select which type of run you want to define. The value in this field controls which fields should be open in (SHS230/E).

      • Time zone

        This is the time zone in which the schedule is defined. The default value of the field is the user time zone, but the field is open for input. The date or date limits that are specified in (SHS230) are then entered in the defined time zone. If the time zone field is left blank, the information is interpreted as if it is in system time. This is the same behavior that the program had before the time zone field was added.

        Using the time zone field and the information specified on the panels, the information is translated to system time in order to schedule the job. The actual schedule times are always saved in system time.

        If using a job calendar, it is assumed that the job calendar refers to the dates in the time zone entered. This means that using the same job calendar will result in different schedule times if different time zones are used in 'Job Schedule Information. Open' (SHS230) or 'Job Schedule Entry. Update' (SHS010). The date and time limits are also translated to correspond to the specified time zone.

        For externally scheduled jobs, no time zone can be specified. You can instead send in a time zone when you trigger the external job from the SHS010MI transaction ExecuteJob. Sending in a time zone to this transaction means that you specify which time zone the schedule date fields are in.

      • Now

        Select this check box if you want the job to run immediately. This is only possible if the Job Schedule allowed field was set to 1 for this function. The job would then run as normal.

      • Today

        Select this check box if you want the job to run on the current date at a scheduled time.

      • Every month

        Select this check box if you want to repeat the job every month.

      • On day

        Specify one of these two-digit values if you want the job to run on a specific day: 01-28: The job will run on the specified day each month. 29-31: The job will run if the day exists in the month. 98: The job will run on the last calendar day of the month. 99: The job will run on the day designated as the period end date according to the period type in the function header.

      • Next Monday - Next Sunday

        Select one of these check boxes if you want the job to run once on the next occurrence of the specified day and at a scheduled time.

      • Every Monday - Every Sunday

        Select one of these check boxes if you want the job to run on a weekly basis on the specified day.

      • Specific date

        Specify a specific date on which you want the job to run.

      • Rec action

        Recovery action indicates whether the job is started later if the system was down when it should be run, or whether it should wait until the next time to run (if it is scheduled to be run several times).

    • Job schedule calendar

      If you want to schedule a run on irregular dates, this can be set up by using a job schedule calendar in SHS060/061. In these programs, you freely define a calendar that can be used for controlling at which dates the job should run.

    • Time

      Specify the time you want the job to be released from the scheduler to the job queue.

      Note: The job will not actually start at the specified time; this will depend on whether other jobs are ahead of it in the job queue. The time must be within the limits defined for the job category attached to this function.
    • Description

      Specify a description of the job, for example 'Month end statement run' or 'Daily picking lists.'

  3. Press Next and the (SHS231/B) panel is displayed.
  4. Open the E panel for all fields and specify this information:
    • Movement

      Indicates the movement for the date.

    • Add value and subtract value

      Indicate a number to add or subtract to the date, based on days for normal dates and periods for period dates, in order to arrive at a new date or period. Does not apply to fixed dates.

Related topics