DEFAULT command: Difference between revisions
m (Automatically generated page update) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 19: | Line 19: | ||
<tr> | <tr> | ||
<th>location</th> | <th>location</th> | ||
<td> | <td> | ||
<ul> | <ul> | ||
<li> | <li> | ||
<p>For Parallel Query Option/204 files, is the symbolic name (as many as eight characters) that refers to the location of the node on which the remote file resides. An unquoted equal sign (=) specifies that the file is local.</p> | <p>For [[PQO:_Overview_of_Parallel_Query_Option/204|Parallel Query Option/204]] files, <var class="term">location</var> is the symbolic name (as many as eight characters) that refers to the location of the node on which the remote file resides. An unquoted equal sign (=) specifies that the file is local.</p> | ||
</li> | </li> | ||
<li> | <li> | ||
<p>If remote, must match a symbolic destination name specified in the DESTINATION parameter of the relevant local client DEFINE PROCESS command.</p> | <p>If remote, <var class="term">location</var> must match a symbolic destination name specified in the DESTINATION parameter of the relevant local client <var>[[DEFINE_PROCESS_command:_Overview_of_intersystem_network_process|DEFINE PROCESS]]</var> command.</p> | ||
</li> | </li> | ||
</ul> | </ul> | ||
Line 33: | Line 33: | ||
</table> | </table> | ||
==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> | ||
<p>If neither FILE nor GROUP is specified in the DEFAULT command, <var class="product">Model 204</var> attempts to determine what the default should be. <var class="product">Model 204</var> first searches for a temporary group that has the specified name. If a temporary group cannot be found, <var class="product">Model 204</var> searches for a permanent group, and then for a file.</p> | <p>If neither FILE nor GROUP is specified in the DEFAULT command, <var class="product">Model 204</var> attempts to determine what the default should be. <var class="product">Model 204</var> first searches for a temporary group that has the specified name. If a temporary group cannot be found, <var class="product">Model 204</var> searches for a permanent group, and then for a file.</p> | ||
<p>Issue the DEFAULT command whenever the old default file or group is closed.</p> | <p>Issue the DEFAULT command whenever the old default file or group is closed.</p> | ||
<p class="note"><b>Note:</b> The OPEN command automatically establishes a new default file or group, but the OPENC command does not. </p> | <p class="note"><b>Note:</b> The <var>[[OPEN_command|OPEN]]</var> command automatically establishes a new default file or group, but the <var>[[OPENC_command|OPENC]]</var> command does not. </p> | ||
[[Category: | [[Category: User commands]] | ||
[[Category:Commands]] | [[Category:Commands]] |
Latest revision as of 16:08, 11 February 2019
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.