ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/debugconsid.htm

62 lines
3.9 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Considerations when debugging one job from another job" />
<meta name="abstract" content="Although most jobs can be debugged from another job, there are some considerations you should follow." />
<meta name="description" content="Although most jobs can be debugged from another job, there are some considerations you should follow." />
<meta name="DC.subject" content="debugging, considerations for one job from another job" />
<meta name="keywords" content="debugging, considerations for one job from another job" />
<meta name="DC.Relation" scheme="URI" content="usejobdg.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="debugconsid" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Considerations when debugging one job from another job</title>
</head>
<body id="debugconsid"><a name="debugconsid"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Considerations when debugging one job from another job</h1>
<div><p>Although most jobs can be debugged from another job, there are
some considerations you should follow.</p>
<ul><li>A job being debugged cannot be held or suspended (for example, when running
another group job or a secondary job).</li>
<li>When servicing another job with the <span class="cmdname">Start Service Job (STRSRVJOB)</span> command,
you cannot also debug the job doing the servicing. All debug commands apply
only to the job being serviced. To debug the job doing the servicing, you
must either end the servicing of the other job, or have another job service
and debug it.</li>
<li>Debug commands operate on another job, even if that job is not stopped
at a breakpoint. For example, if you are debugging a running job and you
enter the <span class="cmdname">Display Program Variable (DSPPGMVAR)</span> command,
the variable you specify is shown. Since the job continues to run, the value
of the variable may change soon after the command is entered.</li>
<li>A job being debugged must have enough priority to respond to debug commands.
If you are debugging a batch job with a low priority and that job gets no
processing time, then any debug command you issue waits for a response from
the job. If the job does not respond, the command ends and an error message
is displayed.</li>
<li>You cannot service and debug a job that is debugging itself. However,
you can service and debug a job that is servicing and debugging another job.</li>
</ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="usejobdg.htm" title="You may want to use a separate job to debug programs running in another job.">Use a job to debug another job</a></div>
</div>
</div>
</body>
</html>