DEFAULT command: Difference between revisions
(→Syntax) |
m (→Example) |
||
Line 35: | Line 35: | ||
==Example== | ==Example== | ||
DEFAULT PERM GROUP REGION | <p class="code">DEFAULT PERM GROUP REGION</p> | ||
==Usage notes== | ==Usage notes== | ||
<p>The <var class="product">Model 204</var> default file or group is the file or group upon which <var class="product">Model 204</var> operates unless a particular file or group is specified in a command or User Language request. There is only one default in effect at a time.</p> | <p>The <var class="product">Model 204</var> default file or group is the file or group upon which <var class="product">Model 204</var> operates unless a particular file or group is specified in a command or User Language request. There is only one default in effect at a time.</p> |
Revision as of 20:17, 10 October 2014
Summary
- Privileges
- Any user
- Function
- Establishes the current default file or group.
Syntax
DEFAULT [FILE |[PERM | TEMP] GROUP] name [AT location]
Where:
name | is the name of the new default file or group (1 to 8 characters). |
---|---|
location |
|
Example
DEFAULT PERM GROUP REGION
Usage notes
The Model 204 default file or group is the file or group upon which Model 204 operates unless a particular file or group is specified in a command or User Language request. There is only one default in effect at a time.
If neither FILE nor GROUP is specified in the DEFAULT command, Model 204 attempts to determine what the default should be. Model 204 first searches for a temporary group that has the specified name. If a temporary group cannot be found, Model 204 searches for a permanent group, and then for a file.
Issue the DEFAULT command whenever the old default file or group is closed.
Note: The OPEN command automatically establishes a new default file or group, but the OPENC command does not.