DEASSIGN command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
 
(6 intermediate revisions by 3 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 <i>alias</i>
<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 executed, 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 <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 execute 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&nbsp;204</var> ends any current User Language update unit and begins a non-backoutable update unit. If a <var class="product">Model&nbsp;204</var> command non-backoutable update unit is in progress, DEASSIGN is included in that update unit. For more information about <var class="product">Model&nbsp;204</var> update units, see the <var>Model&nbsp;204 File Manager's Guide</var>.</p>
<p>When it processes DEASSIGN, <var class="product">Model&nbsp;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&nbsp;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

Privileges
User
Function
Deassigns an alias for the name of a procedure

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.