TimeStamping

Filter:

TIMESTAMP

Syntax:

TIMESTAMP N

Operands:

N :: an integer specifying the number of timestamp digits.

Functional Description:

Use the TIMESTAMP stage to determine when a record was read. TIMESTAMP prefixes each record with a timestamp showing when the record was read. The TIMESTAMP output consists of the year (including the century), the month, day, hour (in 24 hour format), minute, second, and hundredth of a second in the form yyyymmddhhmmsscc.

The operand specifies the number of characters to include in the timestamp. Valid values are 1 through 16. The default is 8. If n is less than 16, the characters are truncated from the left and put in front of the data from the input record when it is passed to the output stream. The default results in the hour, minute, and second. The hundredth of a second (the two rightmost characters) are always zero.

Secondary Input/Output:

NONE

Synonyms:

none

Usage Notes:



JAVA Pipelines

Cullen Programming logo