67 lines
3.8 KiB
HTML
67 lines
3.8 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="task" />
|
|||
|
<meta name="DC.Title" content="Use the EXITPGM parameter" />
|
|||
|
<meta name="abstract" content="The EXITPGM parameter can be used for various purposes." />
|
|||
|
<meta name="description" content="The EXITPGM parameter can be used for various purposes." />
|
|||
|
<meta name="DC.subject" content="parameter, EXITPGM (exit program)" />
|
|||
|
<meta name="keywords" content="parameter, EXITPGM (exit program)" />
|
|||
|
<meta name="DC.Relation" scheme="URI" content="dsppg.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="exitp" />
|
|||
|
<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>Use the EXITPGM parameter</title>
|
|||
|
</head>
|
|||
|
<body id="exitp"><a name="exitp"><!-- --></a>
|
|||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|||
|
<h1 class="topictitle1">Use the EXITPGM parameter</h1>
|
|||
|
<div><p>The EXITPGM parameter can be used for various purposes.</p>
|
|||
|
<div class="section"> <ul><li>To change the defaults used on the create commands submitted by option 3.
|
|||
|
<p>For example, if F4 (Prompt) is not used, the EXITPGM parameter could change
|
|||
|
one or more of the create commands to specify your own default requirements.
|
|||
|
If F4 is used, the EXITPGM parameter could submit the command as entered by
|
|||
|
the programmer (with no parameters changed).</p>
|
|||
|
</li>
|
|||
|
<li>To change parameters regardless of the programmer's use of F4. <p>This
|
|||
|
requires scanning the value of the &RQSDTA512 parameter (which is passed
|
|||
|
to the exit program) to see if it had already been used and substituting the
|
|||
|
required value.</p>
|
|||
|
</li>
|
|||
|
<li>To change other parameters on the <span class="cmdname">Submit Job (SBMJOB)</span> command.
|
|||
|
<p>For example, the user parameter of the <span class="cmdname">Submit Job (SBMJOB)</span> command
|
|||
|
could be changed to specify the value of the job description instead of the
|
|||
|
value of *CURRENT. It is also possible to retrieve the values of one or more
|
|||
|
job attributes by using the <span class="cmdname">Retrieve Job Attributes (RTVJOBA)</span> command,
|
|||
|
entering the attributes as specific values.</p>
|
|||
|
</li>
|
|||
|
<li>To enforce local programming conventions. <p>For example, if you have
|
|||
|
a naming standard that requires all physical files to be named with 7 characters
|
|||
|
and end with a P, the exit program could reject any attempt to use the <span class="cmdname">Create
|
|||
|
Physical File (CRTPF)</span> command with a name that did not follow this
|
|||
|
standard.</p>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div>
|
|||
|
<div class="familylinks">
|
|||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dsppg.htm" title="The Start Programmer Menu (STRPGMMNU) command can be used for various purposes.">Use the Start Programmer Menu (STRPGMMNU) command</a></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</body>
|
|||
|
</html>
|