Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 - Definition Assistant Description, Operator's Guide and Reference


4.5.1 Overview of the schedule rule

This subsection describes an overview of the schedule rule function in JP1/AJS3 and how to define a schedule rule in JP1/AJS3 - Definition Assistant.

Organization of this subsection

(1) Schedule information

In JP1/AJS3, you can define schedule information, such as execution start dates and times, execution intervals (processing cycles), and how to substitute the schedule, to calculate when a jobnet is scheduled to be executed.

You can configure schedule information in the Schedule Settings dialog box of JP1/AJS3 - View or in the Schedule definition information section of JP1/AJS3 - Definition Assistant, in the definition information management template. For details, see 5.1.1(11) Schedule definition information section.

With JP1/AJS3 - Definition Assistant, you can import schedule information by using the import function and export it by using the export function.

Figure 4‒9: Importing and exporting schedule information in JP1/AJS3 - Definition Assistant

[Figure]

(2) Schedule rule

In JP1/AJS3, a rule is defined to calculate execution schedules, such as execution start dates and times, execution intervals (processing cycles), and how to substitute the schedule, and it is called a schedule rule.

To define a schedule rule in JP1/AJS3 - Definition Assistant, use the items from Rule number to link to Start condition: Period in the Schedule definition information section. When a schedule rule is defined in JP1/AJS3 - Definition Assistant, be sure to enter the items related to Start day in the Schedule definition information section because they are used as a basis. For the rest of the items, enter values as needed.

Figure 4‒10: JP1/AJS3 - Definition Assistant items used in defining the schedule rule

[Figure]

(3) Settings in the schedule rule

In JP1/AJS3 - Definition Assistant, Start day in the Schedule definition information section consists of Type, Year/Month, and Day.

Any schedule rule defined in JP1/AJS3 - Definition Assistant must have a set of values listed in the table below for Start day in the Schedule definition information section.

Note that for Start day: Day in the Schedule definition information section, its possible values vary depending on the value in Start day: Type.

When the schedule rule is defined by JP1/AJS3 - Definition Assistant, Start day in the Schedule definition information section will act as a basis. The following table shows the differences between Start day in JP1/AJS3 - View and JP1/AJS3 - Definition Assistant.

Table 4‒10: Differences between the schedule rule (Type, Year/Month, and Day) in JP1/AJS3 - View and JP1/AJS3 - Definition Assistant

No.

Items in JP1/AJS3 - View

Items in JP1/AJS3 - Definition Assistant

Remarks

Type

Year/Month#

Day

Type

Year/Month#

Day

1

Registered day

--

--

Registered day

--

--

Year/Month and Day are not specified.

2

Absolute day

yyyy/mm

Specified by a date

Absolute day

yyyy/mm

n

The value n can be:

(1) If the year and month are omitted
  • 1 to 31 (day of a month)

(2) If only the year is omitted
  • February: 1 to 29 (day of the month)

  • The other months: Possible day of each month

(3) If the year and month are specified
  • Possible day of the month for the specified year and month

3

Specified by the end of the month

Last

The last day

4

Last-n

Possible values for n: 0 to 30 (day of a month)

5

Specified by a day of the week

X

Possible values for X: Mon, Tue, Wed, Thu, Fri, Sat, or Sun

6

nth X

Possible values for n: Any one of 1 to 5

Possible values for X: Mon, Tue, Wed, Thu, Fri, Sat, or Sun

7

Last X

Possible values for X: Mon, Tue, Wed, Thu, Fri, Sat, or Sun

8

Relative day

yyyy/mm

Specified by a date

Relative day

yyyy/mm

n

Possible values for n: 1 to 35 (unit: day)

9

Specified by the end of the month

Last

The last day

10

Last-n

Possible values for n: 0 to 30 (unit: day)

11

Specified by a day of the week

X

Possible values for X: Mon, Tue, Wed, Thu, Fri, Sat, or Sun

12

nth X

Possible values for n: Any one of 1 to 5

Possible values for X: Mon, Tue, Wed, Thu, Fri, Sat, or Sun

13

Last X

Possible values for X: Mon, Tue, Wed, Thu, Fri, Sat, or Sun

14

Open day

yyyy/mm

Specified by a date

Open day

yyyy/mm

nth

Possible values for n: 1 to 35 (unit: day)

15

Specified by the end of the month

Last

The last open day

16

Last-n

Possible values for n: 0 to 34 (unit: day)

17

Closed day

yyyy/mm

Specified by a date

Closed day

yyyy/mm

nth

Possible values for n: 1 to 35 (unit: day)

18

Specified by the end of the month

Last

The last closed day

19

Last-n

Possible values for n: 0 to 34 (unit: day)

20

--

--

--

Unspecified

--

--

Indicates that the schedule rule is not defined.

Legend:

--: Indicates that a value cannot be specified.

#

Define the execution start year and month of a jobnet in yyyy/mm format:

yyyy

Specify the calendar year containing the date when the jobnet is executed.

Possible values: 1994 to 2036

Default: The year containing the date when the jobnet was registered for execution

mm

Specify the month when the jobnet is executed.

Possible values: 1 to 12 (For example, 1 indicates January.)

Default: The month containing the day when the jobnet was registered for execution

yyyy is optional. If yyyy is omitted, mm is also optional. If both yyyy and mm are omitted, the year and month containing the day when the jobnet was registered for execution is assumed.

(4) When no schedule rule is defined

In JP1/AJS3, a situation where a schedule rule is not defined at all is referred to as that the schedule rule is undefined. In JP1/AJS3 - Definition Assistant, when the schedule rule is undefined, Start day: Type in the Schedule definition information section is set to Unspecified.

When a unit with no schedule rule defined in JP1/AJS3 - View is imported into JP1/AJS3 - Definition Assistant, its Start day: Type is set to Unspecified.

In addition, you can define a unit with no schedule rule specified by using JP1/AJS3 - Definition Assistant to set Start day: Type to Unspecified and exporting the unit.

Figure 4‒11: When the schedule rule is undefined

[Figure]

(5) When multiple schedule rules are defined

To define multiple schedule rules in JP1/AJS3 - Definition Assistant, enter values within the cells from Rule number to link to Start condition: Period in the Schedule definition information section, separated by line breaks (Alt+Enter).

In this case, the first line in the cell defines the rule with rule number 1, and the second line, the rule with rule number 2.

A single jobnet can contain a maximum of 144 schedule rules.

Figure 4‒12: When multiple schedule rules are defined

[Figure]