DEASSIGN command: Difference between revisions
Line 18: | Line 18: | ||
</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 run, the procedure name and all other aliases remain in effect.</p> | <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 ASSIGN 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 run in group context if the group contains multiple procedure files. In this case, aliases must be deassigned in file context. </p> | <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 [[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> | <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]] |
Revision as of 15:41, 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.