Cancelling execution: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "__TOC__ <span class="f_Para">When you run a request that includes User Language, the Debugger Client displays the program in the </span><var>Source Code</var><span class="f_Pa...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
<span class="f_Para">When you run a request that includes User Language, the Debugger Client displays the program in the </span><var>Source Code</var><span class="f_Para"> tab, prior to the execution of any program statements. At this point or at any point after you begin to execute the code, you can terminate the execution of the program by clicking the </span><var>Cancel</var><span class="f_Para"> control button. </span>
<span class="f_Para">When you run a request that includes User Language, the Debugger Client displays the program in the </span><var>Source Code</var><span class="f_Para"> tab, prior to the execution of any program statements. At this point or at any point after you begin to execute the code, you can terminate the execution of the program by clicking the </span><var>Cancel</var><span class="f_Para"> control button. </span>


[[File:cancel3a_zoom60.gif|447x281px|cancel3a]]<span class="f_Para">  </span>
[[File:cancel3a_zoom60.gif|447x281px|cancel3a]]


<span class="f_Para">When you click </span><var>Cancel</var><span class="f_Para">, you receive a &quot;do you really want to&quot; message because the operation is not reversible. You can view the remainder of the current program but cannot subsequently execute any of that code, unless you invoke it for debugging again. </span>
<span class="f_Para">When you click </span><var>Cancel</var><span class="f_Para">, you receive a &quot;do you really want to&quot; message because the operation is not reversible. You can view the remainder of the current program but cannot subsequently execute any of that code, unless you invoke it for debugging again. </span>


<span class="f_Para">If you click the </span><span class="f_GUIlabel">Cancel</span><span class="f_Para"> button, you receive a </span><span class="f_Monospace">Do you really want to cancel?</span><span class="f_Para"> prompt because the operation is not reversible. If you click Yes for the prompt: </span>
<span class="f_Para">If you click the </span><span class="term">Cancel</span><span class="f_Para"> button, you receive a </span><span class="term">Do you really want to cancel?</span><span class="f_Para"> prompt because the operation is not reversible. If you click Yes for the prompt: </span>


* <span class="f_Monospace">Cancelled on request</span><span class="f_Para"> is displayed in the status box. </span>
* <span class="f_Monospace">Cancelled on request</span><span class="f_Para"> is displayed in the status box. </span>
Line 13: Line 13:
: For a web request, the Debugger sends the browser a message like the following:  
: For a web request, the Debugger sends the browser a message like the following:  


[[File:cancel1_zoom45.gif|374x130px|cancel1]]<span class="f_ListContinue"> </span>
[[File:cancel1_zoom45.gif|374x130px|cancel1]]
 
: For a 3270 request, a message like the following is sent to the terminal:  
: For a 3270 request, a message like the following is sent to the terminal:  
<p class="syntax">***  MSIR.0943: Request cancel performed from debugger </p>
<p class="syntax">***  MSIR.0943: Request cancel performed from debugger </p>



Latest revision as of 17:12, 7 April 2023

When you run a request that includes User Language, the Debugger Client displays the program in the Source Code tab, prior to the execution of any program statements. At this point or at any point after you begin to execute the code, you can terminate the execution of the program by clicking the Cancel control button.

cancel3a

When you click Cancel, you receive a "do you really want to" message because the operation is not reversible. You can view the remainder of the current program but cannot subsequently execute any of that code, unless you invoke it for debugging again.

If you click the Cancel button, you receive a Do you really want to cancel? prompt because the operation is not reversible. If you click Yes for the prompt:

  • Cancelled on request is displayed in the status box.
  • You can view the remainder of the current program but cannot execute any of it.
  • The Client takes no further action until you click the Run button, which finishes the request (omitting the execution of the statements from the point at which you click Cancel until the request End statement). A cancellation message is then issued:
For a web request, the Debugger sends the browser a message like the following:

cancel1

For a 3270 request, a message like the following is sent to the terminal:

***  MSIR.0943: Request cancel performed from debugger 

The CTRL-X key combination (by default) is equivalent to clicking the Cancel button.