MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » August 2014

Re: Multiple joblogs being created for some jobs



fixed

On 14-Aug-2014 13:10 -0500, Steinmetz, Paul wrote:
<<SNIP>> RTVSYSVAL SYSVAL(QMINUTE) RTNVAR(&MINUTE)
<<SNIP>> RTVSYSVAL SYSVAL(QSECOND) RTNVAR(&SECOND)
<<SNIP>>

Side note FWiW: Retrieve System Value (RTVSYSVAL) for the Date\Time (*DATTIM) group of SysVals [see System Value (SYSVAL) parameter of the Work With System Values (WRKSYSVAL) command], has enabled for several releases, requesting the full System Date And Time in one request using the System Value QDATETIME. There are many [historical coded] uses of retrieved sub-components of both the Date-related and Time-related values that may be _inappropriate in certain applications_, such that a switch to use data from the retrieved QDATETIME value would eliminate an issue for which two distinct system-value retrievals could provide undesirable results in those applications. Assuming those two are the only time elements retrieved, and no date elements are referenced, then a switch in that application to use QTIME would suffice similarly, to ensure the seconds and minutes of the hour\time reflect one moment that does not span a minute [or hour if hours are included in retrieval of separate sub-components of a time value].

_QDATETIME_
"System date and time. This is the date and time for the local system time as a single value. Retrieving or changing this value is similar to retrieving or changing QDATE and QTIME in a single operation. The format of the field is YYYYMMDDHHNNSSXXXXXX where YYYY is the year, MM is the month, DD is the day, HH is the hours, NN is the minutes, SS is the seconds, and XXXXXX is the microseconds. ..."






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact