Hitachi

JP1 Version 13 JP1/Automatic Job Management System 3 Command Reference


ajslocaldate

Organization of this page

Format

ajslocaldate
     [-F service-name]
     [-y]
     {[-d[[year/]month/]day][-t hours[:minutes]]|[-s seconds]|[-u]}

Description

Modifies the local date and time for a JP1/AJS3 scheduler service (date and time managed by JP1/AJS3).

If you execute this command, without specifying the -y, -d, -t, -s and -u options, the system outputs the local date and time for the JP1/AJS3 scheduler service to the standard output file.

Execution privileges

In Windows: Administrators privileges

In UNIX: Superuser privileges

Arguments

-F service-name

Specify the name of the target scheduler service.

You can specify a character string of 1 to 30 bytes.

If you omit this option, the system assumes the default scheduler service name.

-y

Does not display a message with a confirmation prompt before modifying the scheduler service local date and time.

-d [[year/]month/]day

Specify the scheduler service local date.

  • year

    You can specify a value between 1994 and the value of the SCHEDULELIMIT environment setting parameter for the year. For details about the SCHEDULELIMIT environment setting parameter, see 20.4.2(123) SCHEDULELIMIT in the JP1/Automatic Job Management System 3 Configuration Guide.

  • month

    You can specify a value between 1 and 12.

  • day

    You can specify a value between 1 and 31.

-t hours[:minutes]

Specify the local time for a scheduler service.

  • hours

    You can specify a value between 0 and 23.

  • minutes

    You can specify a value between 0 and 59.

-s seconds

Specify the difference between the local time for the current scheduler service and the time set in the host.

You can specify a value between -4,294,967,295 and 4,294,967,295 (seconds).

If the resulting year is not within the specifiable year range, an error occurs.

-u

Reset the local date and time for the scheduler service to the initial value (the date and time set in the host).

Notes

Return values

0

Normal end

Multiple of 4 within the range from 4 to 124

Abnormal end

Additional information