EOJ command: Difference between revisions
(Automatically generated page update) |
m (remove Sys Man guide) |
||
Line 6: | Line 6: | ||
<dd>Specifies end of job and initiates <var class="product">Model 204</var> termination, forcing active users off <var class="product">Model 204</var>. | <dd>Specifies end of job and initiates <var class="product">Model 204</var> termination, forcing active users off <var class="product">Model 204</var>. | ||
</dl> | </dl> | ||
==Syntax== | ==Syntax== | ||
<p class="syntax">EOJ | <p class="syntax">EOJ | ||
</p> | </p> | ||
==Usage notes== | ==Usage notes== | ||
<p>The EOJ command signals an end-of-job condition and begins the process of <var class="product">Model 204</var> termination. It should be used in conjunction with the BUMP command. Any users, who are still active when EOJ is issued, are forced off <var class="product">Model 204</var>. If files are being updated at this time, their integrity might be damaged. You can issue an EOJ command from the terminal or include it at the end of User 0's input stream. If EOJ is omitted from this stream, a user restart is invoked and the return code is set to 6.</p> | <p> | ||
<p>If you enter an EOJ command from a terminal, you must confirm the command before it is executed. In response to the EOJ command, <var class="product">Model 204</var> queries: </p> | The <var>EOJ</var> command signals an end-of-job condition and begins the process of <var class="product">Model 204</var> termination. It should be used in conjunction with the <var>[[BUMP command|BUMP]]</var> command. Any users, who are still active when <var>EOJ</var> is issued, are forced off <var class="product">Model 204</var>. If files are being updated at this time, their integrity might be damaged. You can issue an <var>EOJ</var> command from the terminal or include it at the end of User 0's input stream. If <var>EOJ</var> is omitted from this stream, a user restart is invoked and the return code is set to 6.</p> | ||
<p> | |||
If you enter an <var>EOJ</var> command from a terminal, you must confirm the command before it is executed. In response to the <var>EOJ</var> command, <var class="product">Model 204</var> queries: </p> | |||
<p class="code">*** M204.1076: DO YOU REALLY WANT TO END THE RUN? | <p class="code">*** M204.1076: DO YOU REALLY WANT TO END THE RUN? | ||
</p> | </p> | ||
<p>If the system manager's response is Y, <var class="product">Model 204</var> is terminated. If the system manager's response is N, the EOJ command is ignored. The default response is Y if the system manager's PROMPT parameter includes the 16 option. If the RESTART command (ROLL BACK or ROLL FORWARD) is executing when the EOJ command is entered, the following message is displayed prior to the request for confirmation: </p> | <p> | ||
If the system manager's response is <code>Y</code>, <var class="product">Model 204</var> is terminated. If the system manager's response is <code>N</code>, the <var>EOJ</var> command is ignored. The default response is <code>Y</code> if the system manager's <var>PROMPT</var> parameter includes the 16 option. If the <var>RESTART</var> command (ROLL BACK or ROLL FORWARD) is executing when the <var>EOJ</var> command is entered, the following message is displayed prior to the request for confirmation: </p> | |||
<p class="code">*** M204.1453: RESTART RECOVERY IS RUNNING | <p class="code">*** M204.1453: RESTART RECOVERY IS RUNNING | ||
</p> | </p> | ||
<p>No confirmation is requested when the EOJ command is supplied by User 0, either in the CCAIN input stream or from the console in a single-user z/VM run.</p> | <p> | ||
<p>If checkpoint logging is enabled in the <var class="product">Model 204</var> run, the EOJ command <b>requests</b> that a checkpoint be performed before <var class="product">Model 204</var> termination processing begins. This checkpoint request waits until the values of the CPTO and CPTQ parameters are exceeded. If updating users are finished, their work is captured by the checkpoint, otherwise it might be lost. After the checkpoint is taken or times out, termination processing proceeds.</p> | No confirmation is requested when the <var>EOJ</var> command is supplied by User 0, either in the CCAIN input stream or from the console in a single-user z/VM run.</p> | ||
<p>When <var class="product">Model 204</var> processes EOJ, it abruptly ends all update units in progress and does not invoke transaction backout. </p> | <p> | ||
<p>For more information about: </p> | If checkpoint logging is enabled in the <var class="product">Model 204</var> run, the <var>EOJ</var> command <b>requests</b> that a checkpoint be performed before <var class="product">Model 204</var> termination processing begins. This checkpoint request waits until the values of the <var>CPTO</var> and <var>CPTQ</var> parameters are exceeded. If updating users are finished, their work is captured by the checkpoint, otherwise it might be lost. After the checkpoint is taken or times out, termination processing proceeds.</p> | ||
<p> | |||
When <var class="product">Model 204</var> processes <var>EOJ</var>, it abruptly ends all update units in progress and does not invoke transaction backout. </p> | |||
<p> | |||
For more information about: </p> | |||
<ul> | <ul> | ||
<li | <li><var class="product">Model 204</var> update units, see [[File integrity and recovery#Update units and transactions|Update units and transactions]]</li> | ||
</li> | |||
<li> | <li><var>EOJ</var> and ONLINE termination, see [[Controlling system operations (CCAIN)#ONLINE termination|ONLINE termination]].</li> | ||
< | </ul> | ||
</li> | |||
[[Category: System manager commands]] | [[Category: System manager commands]] | ||
[[Category:Commands]] | [[Category:Commands]] |
Revision as of 20:42, 14 November 2014
Summary
- Privileges
- System manager or User 0
- Function
- Specifies end of job and initiates Model 204 termination, forcing active users off Model 204.
Syntax
EOJ
Usage notes
The EOJ command signals an end-of-job condition and begins the process of Model 204 termination. It should be used in conjunction with the BUMP command. Any users, who are still active when EOJ is issued, are forced off Model 204. If files are being updated at this time, their integrity might be damaged. You can issue an EOJ command from the terminal or include it at the end of User 0's input stream. If EOJ is omitted from this stream, a user restart is invoked and the return code is set to 6.
If you enter an EOJ command from a terminal, you must confirm the command before it is executed. In response to the EOJ command, Model 204 queries:
*** M204.1076: DO YOU REALLY WANT TO END THE RUN?
If the system manager's response is Y
, Model 204 is terminated. If the system manager's response is N
, the EOJ command is ignored. The default response is Y
if the system manager's PROMPT parameter includes the 16 option. If the RESTART command (ROLL BACK or ROLL FORWARD) is executing when the EOJ command is entered, the following message is displayed prior to the request for confirmation:
*** M204.1453: RESTART RECOVERY IS RUNNING
No confirmation is requested when the EOJ command is supplied by User 0, either in the CCAIN input stream or from the console in a single-user z/VM run.
If checkpoint logging is enabled in the Model 204 run, the EOJ command requests that a checkpoint be performed before Model 204 termination processing begins. This checkpoint request waits until the values of the CPTO and CPTQ parameters are exceeded. If updating users are finished, their work is captured by the checkpoint, otherwise it might be lost. After the checkpoint is taken or times out, termination processing proceeds.
When Model 204 processes EOJ, it abruptly ends all update units in progress and does not invoke transaction backout.
For more information about:
- Model 204 update units, see Update units and transactions
- EOJ and ONLINE termination, see ONLINE termination.