<?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="Parameters passed to the prompt override program" /> <meta name="abstract" content="The prompt override program is passed several parameters." /> <meta name="description" content="The prompt override program is passed several parameters." /> <meta name="DC.subject" content="prompt override program, information passed to" /> <meta name="keywords" content="prompt override program, information passed to" /> <meta name="DC.Relation" scheme="URI" content="wrtpop.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="paramprompt" /> <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>Parameters passed to the prompt override program</title> </head> <body id="paramprompt"><a name="paramprompt"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">Parameters passed to the prompt override program</h1> <div><p>The prompt override program is passed several parameters.</p> <ul><li>A 20-character field. The first 10 characters of the field contain the name of the command and the last 10 characters contain the name of the library.</li> <li>A value for each key parameter, if any. If more than one key parameter is defined, the parameter values are passed in the order that the key parameters are defined in the command definition source.</li> <li>A 32676-byte (32K) space to hold the command string that is created by the prompt override program. The first two bytes of this field must contain the hexadecimal length of the command string that is returned. The actual command string follows the first two bytes. <p>For example, when defining two key parameters for a command, four parameters pass to the prompt override program as follows: </p> <ul><li>One parameter for the command.</li> <li>Two parameters for the key parameters.</li> <li>One parameter for the command string space.</li> </ul> </li> </ul> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="wrtpop.htm" title="A prompt override program needs to be passed certain information to return current values when a command is prompted.">Write a prompt override program</a></div> </div> </div> </body> </html>