ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzajq_5.4.0.1/controldefaultreply.htm

74 lines
5.2 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="reference" />
<meta name="DC.Title" content="Controlling the default reply to the query governor inquiry message" />
<meta name="abstract" content="The system administrator can control whether the interactive user has the option of ignoring the database query inquiry message by using the Change Job (CHGJOB) CL command." />
<meta name="description" content="The system administrator can control whether the interactive user has the option of ignoring the database query inquiry message by using the Change Job (CHGJOB) CL command." />
<meta name="DC.subject" content="governor, *DFT, *RQD, *SYSRPYL" />
<meta name="keywords" content="governor, *DFT, *RQD, *SYSRPYL" />
<meta name="DC.Relation" scheme="URI" content="govrle.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/chgjob.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="controldefaultreply" />
<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>Controlling the default reply to the query governor inquiry message</title>
</head>
<body id="controldefaultreply"><a name="controldefaultreply"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Controlling the default reply to the query governor inquiry message</h1>
<div><p>The system administrator can control whether the interactive user
has the option of ignoring the database query inquiry message by using the <span class="cmdname">Change
Job (CHGJOB)</span> CL command. </p>
<div class="section"><p>Changes made include the following: </p>
<ul><li>If a value of *DFT is specified for the INQMSGRPY parameter of the <span class="cmdname">Change
Job (CHGJOB)</span> CL command, the interactive user does not see the inquiry
messages and the query is canceled immediately.</li>
<li>If a value of *RQD is specified for the INQMSGRPY parameter of the <span class="cmdname">Change
Job (CHGJOB)</span> CL command, the interactive user sees the inquiry and
must reply to the inquiry.</li>
<li>If a value of *SYSRPYL is specified for the INQMSGRPY parameter of the <span class="cmdname">Change
Job (CHGJOB)</span> CL command, a system reply list is used
to determine whether the interactive user sees the inquiry and whether a reply
is necessary. The system reply list entries can be used to customize different
default replies based on user profile name, user id, or process names. The
fully qualified job name is available in the message data for inquiry message
CPA4259. This will allow the keyword CMPDTA to be used to select the system
reply list entry that applies to the process or user profile. The user profile
name is 10 characters long and starts at position 51. The process name is
10 character long and starts at position 27.</li>
<li>The following example will add a reply list element that will cause the
default reply of <samp class="codeph">C</samp> to cancel any requests for jobs whose
user profile is 'QPGMR'. <pre>ADDRPYLE SEQNBR(56) MSGID(CPA4259) CMPDTA(QPGMR 51) RPY(C)</pre>
The
following example will add a reply list element that will cause the default
reply of <samp class="codeph">C</samp> to cancel any requests for jobs whose process
name is 'QPADEV0011'. <pre>ADDRPYLE SEQNBR(57) MSGID(CPA4259) CMPDTA(QPADEV0011 27) RPY(C)</pre>
</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="govrle.htm" title="The DB2 Universal Database for iSeries Predictive Query Governor can stop the initiation of a query if the estimated run time (elapsed execution time) or estimated temporary storage for the query is excessive. The governor acts before a query is run instead of while a query is run. The governor can be used in any interactive or batch job on the iSeries. It can be used with all DB2 Universal Database for iSeries query interfaces and is not limited to use with SQL queries.">Set resource limits with the Predictive Query Governor</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../cl/chgjob.htm">Change Job (CHGJOB) command</a></div>
</div>
</div>
</body>
</html>