Hitachi

JP1 Version 12 JP1/Service Support Configuration and Administration Guide


jssitemcount (counts Items)

Organization of this page

Description

This command displays the number of managed and stored Items registered in JP1/Service Support. If the number of Items that can be added to a process work board becomes smaller than the threshold value, or if the number of Items reaches the maximum limit (until which time Items can be registered in the process work board), a warning message is output. The threshold value can be set in the system property file (hptl_jp1_imss_main_setting.properties). For details, see System property file (hptl_jp1_imss_main_setting.properties) in Chapter 13. Definition Files.

Format

jssitemcount {-ALL | -s -id system-ID | -p -id process-work-board-ID}
             [-ct start-date-end-date]

Required execution permission

Administrator permissions

Storage folder

JP1/SS-path\bin\

Arguments

-ALL

Checks the number of Items registered in all process work boards.

-s -id system-ID

Checks the number of Items registered in a selected system. For system-ID, use 1 to 64 half-width alphanumeric characters.

-p -id process-work-board-ID

Checks the number of Items registered in a selected process work board. For process-work-board-ID, use 1 to 64 half-width alphanumeric characters.

-ct start-date-end-date

Specify the registration date range in order to check the number of Items registered in that specified period. Specify start-date and end-date with character strings in YYYY/MM/DD format, and connect them with a hyphen (-).

For start-date and end-date, you can specify values from 1970/01/01 to 2107/01/01. Specify the values so that start-date is earlier than end-date. The following explains start-date and end-date:

start-date

Counts the number of Items registered after the date specified for start-date (including start-date). If a specified date does not exist as a date in the specified range, an error occurs.

end-date

Counts the number of Items registered before the date specified for end-date (including end-date). If a specified date does not exist as a date in the specified range, an error occurs.

For example, if 2013/01/01-2013/12/31 is specified, Items whose registration date is in the range from 2013/01/01 00:00:00(.000) to 2013/12/31 23:59:59(.999) are counted.

Return values

Return value

Meaning

0

Normal end, no warning message output

1

Normal end, warning message output

2

Abnormal end

Statuses of the target system and target process work board

The jssitemcount command is targeted to systems in which one or more process work boards are registered. For such systems, Items can be counted without depending on the statuses of the systems, process work boards, and Items. The Items waiting to be deleted are also counted. Note that if the number of Items registered in a process work board is 0, 0 is displayed.

Prerequisites for executing the command

Remarks

Example

The following example shows how to check the number of Items registered in the period from 2013/1/1 to 2013/12/31 for process work board pwb001.

jssitemcount -p -id pwb001 -ct 2013/01/01-2013/12/31