HN

HN — timestamp information for a single execution of DFbatch

Synopsis

Content model

HN ::=
(DT, TM)

Attributes

NameTypeDefaultDescription
fdCDATANone

The id of a history element (HN). There is a one-to-many relationship between this attribute and the fr attribute of action elements.

curEnumeration:
0=no
1=yes
0

Is the current history entry for the current execution?

Description

A HN contains date and time information regarding a single execution of DFbatch.

Processing Expectations

If the element has a cur attribute with a value of 1, the element records the date and time of the current execution. Otherwise, it records the date and time of a previous execution.

Where multiple HN elements are present, they can be ordered chronologically by sorting their fr attributes in ascending order. The HN elements also appear within the parent HL element in chronological order, but this is not required.

Parents

These elements contain HN: HL

Children

The following elements occur in HN: DT, TM.

Examples

Example 6.62. A history entry

<HN fd='1'>
<DT><YY>2000</YY><MM>10</MM><DD>19</DD></DT>
<TM><HR>09</HR><MI>01</MI><SC>40</SC></TM>
</HN>

This is the entry for the oldest execution of the batch which took place on October 19, 2000 at 09:01:40. Because the element does not have a cur attribute, it is not the history element for the current (and only) execution.