EOJPW parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 16: Line 16:


==Description==
==Description==
This feature lets the user confirm that they are ending the correct run.
The <var>EOJPW</var> value is used as a "password" that the system manager must enter to confirm that they are ending the correct run. Note that this is not a security feature, since the value of <var>EOJPW</var> can be readily obtained with <code>VIEW EOJPW</code>.


If the <var>EOJPW</var> parameter (4 bytes maximum) is set in CCAIN, then a non-User 0 <var>[[EOJ command|EOJ]]</var> command returns:  
If the <var>EOJPW</var> parameter (4 bytes maximum) is set in CCAIN, then after the system manager confirms that Online termination is desired, they are prompted for the <var>EOJPW</var> value.
 
So, if <var>EOJPW</var> is set, and the <var>[[EOJ command|EOJ]]</var> command returns:  
<p class="code" style="display:table;">M204.1076: DO YOU REALLY WANT TO END THE RUN FOR {<i>location</i> | <i>jobname</i>}?
<p class="code" style="display:table;">M204.1076: DO YOU REALLY WANT TO END THE RUN FOR {<i>location</i> | <i>jobname</i>}?
</p>
</p>
<ul>
And the system manager responds with <code>Y</code>, the M204.1076 message is followed with:
<li>If the <var>[[LOCATION parameter|LOCATION]]</var> parameter is also set in CCAIN, then <i>location</i> is set to that value in the M204.1076 message. 
 
<li>If <code>[[CUSTOM parameter|CUSTOM]]=37</code> is set, then <var class="term">jobname</var> in the M204.1076 message is replaced by the value of the <var>[[JOBNM parameter|JOBNM]]</var> parameter, a view-only parameter. 
 
<li>If <code>Y</code> is the response to the
M204.1076 message, that message is followed with this:
<p class="code" style="display:table">M204.0347: Password  
<p class="code" style="display:table">M204.0347: Password  
</p>
</p>
</ul>
and the system manager must enter the value of <var>EOJPW</var>.
<p>
<p>
If <var>EOJPW</var> is <strong>not</strong> set, no password prompt is issued. However, the M204.1076 message is issued in one of the following forms: </p>
If <var>EOJPW</var> is not set, no password prompt is issued.</p>  
<ul>
<p>
<li>If <code>CUSTOM=37</code> is set:
See the <var>[[EOJ command|EOJ]]</var> command description for more information about the M204.1706 confirmation message.</p>
<p class="code" style="display:table">M204.1076: Do you really want to end the run for <i>jobname</i>?</p>
 
<li>If <code>CUSTOM=37</code> is not set, and <var>LOCATION</var> is set:
<p class="code" style="display:table">M204.1076: Do you really want to end the run for <i>location</i>?</p>


<li>If <code>CUSTOM=37</code> is not set, and <var>LOCATION</var> is not set:
==Usage notes==
<p class="code" style="display:table">M204.1076: Do you really want to end the run?</p>
An alternative, perhaps preferred, method to confirm that the correct run is being ended is obtained by setting the X'08' and/or X'04' bits of the <var>[[SIRPRMPT parameter|SIRPRMPT]]</var> parameter. This does not require "inventing" an <var>EOJPW</var> for each Online, but rather uses the "natural" Online job or <var>[[LOCATION parameter|LOCATION]] name.
</ul>


[[Category:System parameters]]
[[Category:System parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Latest revision as of 00:14, 22 June 2016

EOJ password

Summary

Default value
None
Parameter type
System
Where set
CCAIN
Related products
None
Introduced
Model 204 V6.1

Description

The EOJPW value is used as a "password" that the system manager must enter to confirm that they are ending the correct run. Note that this is not a security feature, since the value of EOJPW can be readily obtained with VIEW EOJPW.

If the EOJPW parameter (4 bytes maximum) is set in CCAIN, then after the system manager confirms that Online termination is desired, they are prompted for the EOJPW value.

So, if EOJPW is set, and the EOJ command returns:

M204.1076: DO YOU REALLY WANT TO END THE RUN FOR {location | jobname}?

And the system manager responds with Y, the M204.1076 message is followed with:

M204.0347: Password

and the system manager must enter the value of EOJPW.

If EOJPW is not set, no password prompt is issued.

See the EOJ command description for more information about the M204.1706 confirmation message.

Usage notes

An alternative, perhaps preferred, method to confirm that the correct run is being ended is obtained by setting the X'08' and/or X'04' bits of the SIRPRMPT parameter. This does not require "inventing" an EOJPW for each Online, but rather uses the "natural" Online job or LOCATION name.