Enabling System Maintenance Run

This document describes the required settings to enable System Maintenance Runs.

Before you start

Follow these steps

Proceed with the following steps to enable System Maintenance Run.

If you don't want to schedule the System Maintenance run, Start 'System Maintenance. Open' (SHS100) and select option 9=Run.

  1. Start 'Job Schedule Category. Open' (SHS050) and specify the job category.

    This field indicates a category, which can be attached to a function in order to determine which job queue and at what time of day the function can be run.

  2. Open the E panel and specify this information:

    From time - The field indicates the earliest time a job (belonging to a job schedule category) can be scheduled to run.

    To time - The field indicates the latest time a job (belonging to a job schedule category) can be scheduled to run.

  3. Start 'Job Schedule Function. Open' (SHS030) and specify 'SHS100' in the Function field.

    Leave the User field blank.

  4. Open the E panel and specify 'JS allowed' field. These options are available.

    0

    This function is not allowed to be scheduled.

    1

    This function can be scheduled or run immediately

    2

    This function must be scheduled.

    3

    This function will be scheduled to run once at the earliest time allowed for function category.

  5. In the 'JS category' field you select your job category defined in 'Job Schedule Category. Open' (SHS050).

    Specify 'SHS998' in the Program field.

    Specify 'SHS999CL' in the 'Job' field.

    Before a batch job is submitted, M3 Business Engine standard programs calls program'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 if the job allows scheduling. If scheduling is allowed, the job scheduling screen (SHS230/E) is displayed.

    Press Enter.

  6. Start 'Job Schedule Program. Open' (SHS031). Can also be started through option 11=Program from SHS050/B.

  7. Specify SHS998 in the Program field and then open the E panel and fill in Description and the display file SHS998DSP.

    For further information on Job Scheduler, refer to M3 Business Engine Administrator's Guide for Job Scheduler.

  8. Start 'System Maintenance. Open' (SHS100) and specify a Job identity.

    This field indicates the user defined identity of the system maintenance run. For example, you can have different system maintenance runs for different occasions like a Weekend Night run or a MRP Night run etc.

  9. On the E panel, specify a description for the job.

    Field

    Description

    User

    This field indicates the user to be notified about the results of the run.

    Notify finish

    This field indicates if the user should be notified when the system maintenance run has finished ok.

    Notify failed

    This field indicates if the defined user should be notified when the system maintenance run has failed.

    Record history

    This field indicates if the system maintenance run should generate history records. The history records are used for monitoring and comparing earlier runs in 'System Maintenance Run. Analyze' (SHS300).

    Time out time

    This field indicates the maximum number of hours the System maintenance run is allowed to run before it's considered to be abnormal. When the specified number of hours has been passed the System maintenance run responsible will be notified.

  10. Start 'System Maintenance. Open Details' (SHS101), through option 11=Details on SHS100/B.

    (SHS101/B) contains a F14 key that generates the std night run set up i.e. the same programs and sequence as currently are used in the 'Old' night run (CRS999).

    Here it is possible to define if a program should be included in the night run or not. This can be done by deleting the program or by ticking the checkbox 'Run function' in (SHS101/E). It's also possible to further fine tune the content by the 'from and to date'.

    Take note that activating Run function in SHS101/E is recommended at least for required programs listed in Programs Included in System Maintenance Runs to ensure a complete System Maintenance Run.

    It is possible to change the sequence of the included programs, however, it is not recommended. Changing sequence is done by adding a new record (new sequence) with the program you want to move and deleting the old sequence.

  11. Open SHS100/B and select option 17=Selections. This starts 'System Maintenance. Open Selections' (SHS105). Here you can define the company and division (one or several) where the night run should be performed.

Related topics