BEGIN command: Difference between revisions
(Automatically generated page update) |
|||
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 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 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 requests are described in detail in the | <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 204 User Language wiki pages: 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 204</var> ends any update unit in progress and begins a non-backoutable update unit. For more information about <var class="product">Model 204</var> update units, see the <var class="book">Model 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 204</var> ends any update unit in progress and begins a non-backoutable update unit. For more information about <var class="product">Model 204</var> update units, see the <var class="book">Rocket Model 204 File Manager's Guide</var>. </p> | ||
[[Category:Commands]] | [[Category:Commands]] |
Revision as of 17:57, 16 July 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 Rocket Model 204 User Language 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. For more information about Model 204 update units, see the Rocket Model 204 File Manager's Guide.