ibm-information-center/dist/eclipse/plugins/i5OS.ic.ddp_5.4.0.1/rbal1starta.htm

76 lines
5.8 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="task" />
<meta name="DC.Title" content="Service jobs for APPC servers" />
<meta name="abstract" content="When the DB2 Universal Database for iSeries application server recognizes a special transaction program name (TPN), it causes the application server to send a message to the system operator and then wait for a reply." />
<meta name="description" content="When the DB2 Universal Database for iSeries application server recognizes a special transaction program name (TPN), it causes the application server to send a message to the system operator and then wait for a reply." />
<meta name="DC.subject" content="command, STRSRVJOB (Start Service Job), Start Service Job (STRSRVJOB), command, CL, Start Service Job (STRSRVJOB), service job, starting, STRDBG (Start Debug), Start Debug (STRDBG), command, CL, Start Debug (STRDBG), debug" />
<meta name="keywords" content="command, STRSRVJOB (Start Service Job), Start Service Job (STRSRVJOB), command, CL, Start Service Job (STRSRVJOB), service job, starting, STRDBG (Start Debug), Start Debug (STRDBG), command, CL, Start Debug (STRDBG), debug" />
<meta name="DC.Relation" scheme="URI" content="rbal1stsrvjb.htm" />
<meta name="DC.Relation" scheme="URI" content="rbal1createtpnsetqcntsrvc.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/strsrvjob.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/strdbg.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="rbal1starta" />
<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>Service jobs for APPC servers</title>
</head>
<body id="rbal1starta"><a name="rbal1starta"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Service jobs for APPC servers</h1>
<div><p>When the <span class="keyword">DB2 Universal Database™ for iSeries™</span> application
server recognizes a special transaction program name (TPN), it causes the
application server to send a message to the system operator and then wait
for a reply.</p>
<div class="section"> <p>This allows you to issue a <span class="cmdname">Start Service Job (STRSRVJOB)</span> command
that allows job trace or debug to be started for the application server job. </p>
<p>To
stop the <span class="keyword">DB2<sup>®</sup> UDB for iSeries</span> application
server job and restart it in debug mode, follow these steps:</p>
</div>
<ol><li id="rbal1starta__rbal1stp1"><a name="rbal1starta__rbal1stp1"><!-- --></a><span>Specify QCNTSRVC as the TPN at the
application requester. There is a different method of doing this for each
platform. This topic collection describes the different methods. When the <span class="keyword">i5/OS™</span> application receives a TPN
of QCNTSRVC, it sends a CPF9188 message to QSYSOPR and waits for a <samp class="codeph">G</samp> (for <em>go</em>)
reply.</span></li>
<li><span>Before entering the <samp class="codeph">G</samp> reply, use the <span class="cmdname">Start
Service Job (STRSRVJOB)</span> command to start a service job for the application
server job and put it into debug mode. (Request help on the CPF9188 message
to display the jobname.)</span></li>
<li><span>Enter the <span class="cmdname">Start Debug (STRDBG)</span> command. </span></li>
<li><span>After starting debug for the application server job, reply to the
QSYSOPR message with a <samp class="codeph">G</samp>. After receiving the <samp class="codeph">G</samp> reply,
the application server continues with normal DRDA<sup>®</sup> processing.</span></li>
<li><span>After the application runs, look at the application server job
log to see the SQL debug messages.</span></li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1stsrvjb.htm" title="When an application uses Distributed Relational Database Architecture (DRDA), the SQL statements are run in the application server job. Because of this, you might need to start debug or a job trace for the application server job that is running on the i5/OS operating system. The technique for doing this differs based on the use of either Advanced Program-to-Program Communication (APPC) or TCP/IP.">Start a service job to diagnose application server problems</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbal1createtpnsetqcntsrvc.htm" title="To create your own TPN and set QCNTSRVC, do the following tasks.">Create your own TPN and set QCNTSRVC</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../cl/strsrvjob.htm">Start Service Job (STRSRVJOB) command</a></div>
<div><a href="../cl/strdbg.htm">Start Debug (STRDBG) command</a></div>
</div>
</div>
</body>
</html>