StringFirstDateTime (Journal property)

From m204wiki
Revision as of 23:10, 15 February 2011 by Dme (talk | contribs) (Created page with "<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Datetime stamp from the first entry in the journal stream<section end=dpl_desc/></b></span> [[Category:Journ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin=dpl_desc/>Datetime stamp from the first entry in the journal stream<section end=dpl_desc/>

StringFirstDateTime is a member of the Journal class.

Syntax

  %string = %jrnl:stringFirstDateTime

Syntax Terms

%string
An EBCDIC string variable to receive the starting datetime of the contents of the journal object. This 14-character value is in CYYDDDHHMISSXX format: CYY = year - 1900, DDD = Julian day number, HH = hour, MI = minutes, SS = seconds, XX = hundredths of seconds
%jrnl
A reference to an instance of a Journal object.

Usage Notes

  • If you want to use the result of this method as, or in connection with, the StartTime parameter of the AppendJournalData function, be sure to remove the leading century indicator, because that parameter must be specified in YYDDDHHMISSXX format. For example, you can use the intrinsic Substring function, as shown in the “test for time values that are out of range” in Journal example.