SYSDATE parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Add the syntax.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:SYSDATE parameter subtitle}}
{{Template:SYSDATE parameter subtitle}}
==Summary==
==Summary==
<dl>
<dl>
Line 7: Line 8:
<dd>System
<dd>System
<dt>Where set
<dt>Where set
<dd>user 0 CCAIN parameter list only
<dd>User 0 CCAIN parameter list only
<dt>Related products
<dt>Related products
<dd>All
<dd>All
<dt>Introduced
<dt>Introduced
<dd><var class="product">Model 204 V6.1</var> or earlier
<dd><var class="product">Model 204 V3.2.1</var>
</dl>
</dl>
==Description==
==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<br>
The <var>SYSDATE</var> parameter lets you set the initial system date to a given value. The <var>SYSDATE</var> and <var>[[SYSTIME parameter|SYSTIME]]</var> parameters must both be specified together, unless <code>SYSDATE=+<i>ddd</i></code> is specified.   
SYSDATE may not be in the past, and may not be after 2042/09/17 when the old-style 8-byte hardware Time Of Day clock value wraps to zero.
 
The format for the parameter value is:  
<p class="syntax">SYSDATE=<span class="term">yyyy</span>/<span class="term">mm</span>/<span class="term">dd</span></p>
Or:
<p class="syntax">SYSDATE=+<span class="term">ddd</span></p>
 
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]]

Latest revision as of 08:18, 26 September 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 V3.2.1

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.