DEASSIGN command: Difference between revisions
(Automatically generated page update) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
<dd>User | <dd>User | ||
<dt>Function | <dt>Function | ||
<dd>Deassigns an alias for the name of a procedure | <dd>Deassigns an [[Procedures#Using_procedure_aliases|alias]] for the name of a [[Procedures|procedure]] | ||
</dl> | </dl> | ||
==Syntax== | ==Syntax== | ||
<p class="syntax">DEASSIGN < | <p class="syntax">DEASSIGN <var class="term">alias</var> | ||
</p> | </p> | ||
<b>Where:</b> | <b>Where:</b> | ||
alias is an existing alias for a procedure name. | <var class="term">alias</var> is an existing alias for a procedure name. | ||
==Example== | ==Example== | ||
<p class="code">DEASSIGN EMP | <p class="code">DEASSIGN EMP | ||
</p> | </p> | ||
==Usage notes== | ==Usage notes== | ||
<p>The DEASSIGN command deassigns an alias that has been established for a procedure name. An alias can be specified at the time that the procedure is defined (in the PROCEDURE command) or at a later time (in the ASSIGN command). After the DEASSIGN command has been | <p>The DEASSIGN command deassigns an alias that has been established for a procedure name. An alias can be specified at the time that the procedure is defined (in the <var>[[PROCEDURE_command|PROCEDURE]]</var> command) or at a later time (in the <var>[[ASSIGN_command|ASSIGN]]</var> command). After the DEASSIGN command has been run, the procedure name and all other aliases remain in effect.</p> | ||
<p>The DEASSIGN command does not | <p>The DEASSIGN command does not run in group context if the group contains multiple procedure files. In this case, aliases must be deassigned in file context. </p> | ||
<p>When it processes DEASSIGN, <var class="product">Model 204</var> ends any current User Language update unit and begins a non-backoutable update unit. If a <var class="product">Model 204</var> command non-backoutable update unit is in progress, DEASSIGN is included in that update unit | <p>When it processes DEASSIGN, <var class="product">Model 204</var> ends any current User Language update unit and begins a [[File integrity and recovery#Model 204 update units|non-backoutable update unit]]. If a <var class="product">Model 204</var> command non-backoutable update unit is in progress, DEASSIGN is included in that update unit.</p> | ||
[[Category:Commands]] | [[Category:Commands]] |
Latest revision as of 15:42, 11 February 2019
Summary
Syntax
DEASSIGN alias
Where: alias is an existing alias for a procedure name.
Example
DEASSIGN EMP
Usage notes
The DEASSIGN command deassigns an alias that has been established for a procedure name. An alias can be specified at the time that the procedure is defined (in the PROCEDURE command) or at a later time (in the ASSIGN command). After the DEASSIGN command has been run, the procedure name and all other aliases remain in effect.
The DEASSIGN command does not run in group context if the group contains multiple procedure files. In this case, aliases must be deassigned in file context.
When it processes DEASSIGN, Model 204 ends any current User Language update unit and begins a non-backoutable update unit. If a Model 204 command non-backoutable update unit is in progress, DEASSIGN is included in that update unit.