SYSDATE parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (typo)
(adding some of Usage section that seems to have been missed during wiki conversion)
Line 23: Line 23:
<p class="syntax">SYSDATE=+<span class="term">ddd</span></p>
<p class="syntax">SYSDATE=+<span class="term">ddd</span></p>


The <var>SYSDATE</var> value must not be in the past, and it must not be after <code>2042/09/17</code>, the date the old-style, 8-byte hardware, Time-Of-Day clock value wraps to zero.
where <var class="term">ddd</var> is the number of days to be added to the current date. If SYSDATE=+<var class="term">ddd</var> is specified alone, the time is set to the current time of day. If SYSTIME is also specified, the time is set to the specified value.
 
<p class="note"><b>Notes:</b>
<ul>
<li>The <var>SYSDATE</var> value must not be in the past, and it must not be after <code>2042/09/17</code>, the date the old-style, 8-byte hardware, Time-Of-Day clock value wraps to zero.</li>
<li><strong>Use only copies of production files</strong> when running with the SYSDATE parameter; otherwise you might lose information.</li>
</ul></p>


[[Category:System parameters]]
[[Category:System parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Revision as of 22:12, 30 March 2017

System initial date

Summary

Default value
Current operating system time
Parameter type
System
Where set
User 0 CCAIN parameter list only
Related products
All
Introduced
Model 204 V6.1 or earlier

Description

The SYSDATE parameter lets you set the initial system date to a given value. The SYSDATE and SYSTIME parameters must both be specified together, unless SYSDATE=+ddd is specified.

The format for the parameter value is:

SYSDATE=yyyy/mm/dd

Or:

SYSDATE=+ddd

where ddd is the number of days to be added to the current date. If SYSDATE=+ddd is specified alone, the time is set to the current time of day. If SYSTIME is also specified, the time is set to the specified value.

Notes:

  • The SYSDATE value must not be in the past, and it must not be after 2042/09/17, the date the old-style, 8-byte hardware, Time-Of-Day clock value wraps to zero.
  • Use only copies of production files when running with the SYSDATE parameter; otherwise you might lose information.