BEGIN command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 21: Line 21:
<p>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, <var class="product">Model&nbsp;204</var> 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.</p>
<p>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, <var class="product">Model&nbsp;204</var> 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.</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>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 [[Basic_Request_Structure|requests]] are described in detail in the Rocket Model&nbsp;204 User Language/SOUL wiki pages: <br/>http://m204wiki.rocketsoftware.com/index.php/Category:SOUL</p>
<p>A BEGIN command is required even when a request is embedded in a stored procedure. User Language [[Basic request structure|requests]] are described in detail in the Rocket Model&nbsp;204 User Language/SOUL wiki pages: <br/>http://m204wiki.rocketsoftware.com/index.php/Category:SOUL</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 [[File_integrity_and_recovery#Non-backoutable_update_units|non-backoutable update unit]].</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 [[File_integrity_and_recovery#Non-backoutable_update_units|non-backoutable update unit]].</p>
 
[[Category:Commands]]
[[Category:Commands]]

Revision as of 21:35, 2 January 2014

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 Rocket Model 204 User Language/SOUL wiki pages:
http://m204wiki.rocketsoftware.com/index.php/Category:SOUL

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.