BEGIN command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
Line 22: Line 22:
<p>Output from a User Language request appears on the user's terminal unless a USE command directs the output to an alternate device.</p>
<p>Output from a User Language request appears on the user's terminal unless a USE command directs the output to an alternate device.</p>
<p>A BEGIN command is required even when a request is embedded in a stored procedure. User Language requests are described in detail in the <var class="book">Model&nbsp;204 User Language Manual</var>. </p>
<p>A BEGIN command is required even when a request is embedded in a stored procedure. User Language requests are described in detail in the <var class="book">Model&nbsp;204 User Language Manual</var>. </p>
<p>When BEGIN follows another command that does not automatically end its own update unit (for example, DEFINE), <var class="product">Model&nbsp;204</var> ends any update unit in progress and begins a non-backoutable update unit. For more information about <var class="product">Model&nbsp;204</var> update units, see the <var>Model&nbsp;204 File Manager's Guide</var>.    </p>
<p>When BEGIN follows another command that does not automatically end its own update unit (for example, DEFINE), <var class="product">Model&nbsp;204</var> ends any update unit in progress and begins a non-backoutable update unit. For more information about <var class="product">Model&nbsp;204</var> update units, see the <var class="book">Model&nbsp;204 File Manager's Guide</var>.    </p>
[[Category:Commands]]
[[Category:Commands]]

Revision as of 01:26, 20 April 2013

Summary

Privileges
User
Function
Specifies the beginning of a User Language request

Syntax

BEGIN

Example

BEGIN DRIVER: FIND ALL RECORDS FOR WHICH RECTYPE = DRIVER END FIND NUM.DRIVERS: COUNT RECORDS IN DRIVER PRINT COUNT IN NUM.DRIVERS END

Usage notes

Every User Language request must be preceded by a BEGIN command or a MORE command and concluded by an END statement. After encountering a BEGIN command, Model 204 assumes that every input line entered by the user is a User Language statement (or a portion of a statement), until the user specifies an END statement.

Output from a User Language request appears on the user's terminal unless a USE command directs the output to an alternate device.

A BEGIN command is required even when a request is embedded in a stored procedure. User Language requests are described in detail in the Model 204 User Language Manual.

When BEGIN follows another command that does not automatically end its own update unit (for example, DEFINE), Model 204 ends any update unit in progress and begins a non-backoutable update unit. For more information about Model 204 update units, see the Model 204 File Manager's Guide.