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
Line 1: Line 1:
__TOC__
__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_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">  </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">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 12: Line 11:
* <span class="f_ListBul1">The Client takes no further action until you click the </span><var>Run</var><span class="f_ListBul1"> button, which finishes the request (omitting the execution of the statements from the point at which you click </span><var>Cancel</var><span class="f_ListBul1"> until the request </span><span class="f_Monospace">End</span><span class="f_ListBul1"> statement). A cancellation message is then issued: </span>
* <span class="f_ListBul1">The Client takes no further action until you click the </span><var>Run</var><span class="f_ListBul1"> button, which finishes the request (omitting the execution of the statements from the point at which you click </span><var>Cancel</var><span class="f_ListBul1"> until the request </span><span class="f_Monospace">End</span><span class="f_ListBul1"> statement). A cancellation message is then issued: </span>
: 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:  
 
:: '''Internal server error - request cancelled'''
[[File:cancel1_zoom45.gif|374x130px|cancel1]]<span class="f_ListContinue"> </span>
:: '''Unable to process browser request No Model 204 error!'''
<!-- [[File:cancel1_zoom45.gif|374x130px|cancel1]]<span class="f_ListContinue"> </span> -->
: 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>



Revision as of 20:04, 3 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.

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:
Internal server error - request cancelled
Unable to process browser request No Model 204 error!
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.