APPDATE command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<!--Page automatically generated by CMSTOWIK EXEC and will be
<p class="note"><b>Note:</b> This is a <var class="product">[[Sirius Mods]]</var>-only command prior to Version 7.5 of <var class="product">[[Model 204]]</var>. This command will perform no useful processing unless a site is authorized for the <var class="product">[[Sir2000 User Language Tools]]</var>. </p>
** automatically replaced ** -- any manual edits will be lost.
You've been warned.  ..  (Page built by DME at the SIRIUS VM; file: JUNK DAT) -->
<!--
rax ifsave();cmstowik sfntm() '(targ m204wik PA APPDATE command'
PXI /R`v 1 *  ` pf17 -* /rax/ sta`lx /wik`pf14 itag p class="output"`pf15 itag nowiki
 
Link for e-mails:
http://m204int.rocketsoftware.com/index.php/APPDATE_command
-->
 
<p class="note"><b>Note:</b> This is a <var class="product">[[Sirius Mods]]</var>-only command prior to Version 7.5 of <var class="product">[[Model 204]]</var>. This command will perform no useful processing unless a site is authorized for the <var class="product">[[Media:Ul2krNew.pdf|Sir2000 User Language Tools]]</var>. </p>


The <var>APPDATE</var> command allows you to control the operation of date and time
The <var>APPDATE</var> command allows you to control the operation of date and time
oriented <var class="product">User Language</var> $functions, in the following two ways:
oriented <var class="product">User Language</var> [[SOUL_$functions|$functions]], in the following two ways:
<ol>
<ol>
<li>You can specify a system-wide or user-level
<li>You can specify a system-wide or user-level
Line 31: Line 20:
the request.
the request.
<p>
<p>
This control is available at the system and user level, and can also
This control is available at the system and user level, and you can also
be set for the duration of a User Language request, via the <var>$Sir_Date_Err</var> function. At the system and user level, you can also control whether procedure
set it for the duration of a User Language request by using the <var>$Sir_Date_Err</var> function. At the system and user level, you can also control whether procedure names and line numbers are available for error messages. </p></li>
names and line numbers are available for error messages. </p></li>
</ol>
</ol>


==See also==
==See also==
 
[[The Sir2000 APPDATE command]] has detailed information about the <var>APPDATE</var> command.
See the <var class="book">[[Media:Ul2krNew.pdf|Sir2000 User Language Tools Reference Manual]]</var> for
detailed information about the
the <var>APPDATE</var> command and other aspects of
the <var class="product">Sir2000 User Language Tools</var>.


[[Category: User commands]]
[[Category: User commands]]
[[Category: Commands]]
[[Category: Commands]]

Latest revision as of 14:21, 6 February 2019

Note: This is a Sirius Mods-only command prior to Version 7.5 of Model 204. This command will perform no useful processing unless a site is authorized for the Sir2000 User Language Tools.

The APPDATE command allows you to control the operation of date and time oriented User Language $functions, in the following two ways:

  1. You can specify a system-wide or user-level clock that is used to obtain date and time values for User Language $functions. For application testing, this is preferred to the Model 204 SYSDATE parameter, which is much less flexible and which greatly complicates the ability to do things such as share procedure files or read-only data files in the testing environment.

    The APPDATE command affects only date and time oriented User Language $functions; it does not affect any other date or time in the Model 204 environment.

  2. You can use the DATE_ERR clause to set switches that control the default system behavior when errors are encountered in date and time oriented User Language $functions. The choices are to produce an error message along with request cancellation, produce a warning message, or silently continue with the request.

    This control is available at the system and user level, and you can also set it for the duration of a User Language request by using the $Sir_Date_Err function. At the system and user level, you can also control whether procedure names and line numbers are available for error messages.

See also

The Sir2000 APPDATE command has detailed information about the APPDATE command.