Hitachi

JP1 Version 12 JP1/Base User's Guide


17.1.2 Extended attributes

An extended attribute is an attribute optionally set by a program when issuing a JP1 event. An extended attribute consists of common information and program-specific information. The common information is information shared among all of the JP1 programs. Note that setting items differ depending on the JP1 program. The program-specific information is extended information that is not common information.

Table 17‒2: Common information in extended attributes

Item

Attribute name

Contents

Event level

SEVERITY

Indicates the urgency of a JP1 event. The following levels are used, starting from the most severe:

Emergency, Alert, Critical, Error, Warning, Notice, Information, and Debug

User name

USER_NAME

Name of the user who executed the job.

Product name

PRODUCT_NAME

Name of the program that issued the JP1 event. The program names set in this attribute include:

/HITACHI/JP1/AJS

/HITACHI/JP1/AOM

/HITACHI/JP1/IM

/HITACHI/JP1/NBQ

/HITACHI/JP1/NETMDM

/HITACHI/JP1/NPS

/HITACHI/JP1/NQSEXEC

/HITACHI/JP1/SES

/HITACHI/JP1/BASE

Object type

OBJECT_TYPE

Object type:

JOB, JOBNET, BATCHJOB, ACTION, LIST, EVENTDB, COMMAND, LOGFILE, SNMP_TRAP, SESSION, or SPMD

Object name

OBJECT_NAME

Object name (job, jobnet, and so on). For a hierarchy of objects such as a jobnet, the lowest element is set.

Root object type

ROOT_OBJECT_TYPE

Object type. Normally the same as OBJECT_TYPE, but when there is a hierarchy of objects as in a jobnet, the type of the top-level object is set. The range of values is the same as for OBJECT_TYPE.

Root object name

ROOT_OBJECT_NAME

Name of the unit for execution instructions during user operation. Normally the same as OBJECT_NAME, but when there is a hierarchy of objects as in a jobnet, the name of the top-level object is set.

Object ID

OBJECT_ID

Object ID.

When paired with PRODUCT_NAME, the OBJECT_ID uniquely identifies an instance of the object within the JP1 system. (The format is product-dependent. This information is used when a user launches the monitor screen for a JP1 program from the Tool Launcher in JP1/IM - View.)

Occurrence

OCCURRENCE

The event that occurred in relation to the object shown in OBJECT_NAME. The values set in this attribute include:

END, LATEEND, LATESTART, NOTICE, PAUSE, START, SWITCH, and RECEIVE

Start time

START_TIME

Time at which execution started or restarted, as the number of seconds since UTC 1970-01-01 00:00:00.

End time

END_TIME

Time at which execution completed, as the number of seconds since UTC 1970-01-01 00:00:00.

Result code

RESULT_CODE

Result code represented as a character string of decimal (base 10) numbers.