ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzalf_5.4.0.1/rzalfileprogcalls.htm

67 lines
4.1 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="Run an i5/OS PASE program from within i5/OS programs" />
<meta name="abstract" content="You can follow the steps in this topic to call the Qp2CallPase() and Qp2CallPase2() ILE procedures from within other ILE procedures to start and run an i5/OS PASE program. An example follows." />
<meta name="description" content="You can follow the steps in this topic to call the Qp2CallPase() and Qp2CallPase2() ILE procedures from within other ILE procedures to start and run an i5/OS PASE program. An example follows." />
<meta name="DC.Relation" scheme="URI" content="rzalfrunning.htm" />
<meta name="DC.Relation" scheme="URI" content="rzalfileprogcallsexamp.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/qp2runpase.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2000, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2000, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzalfileprogcalls" />
<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>Run an i5/OS PASE
program from within i5/OS programs</title>
</head>
<body id="rzalfileprogcalls"><a name="rzalfileprogcalls"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Run an <span class="keyword">i5/OS</span> PASE
program from within <span class="keyword">i5/OS</span> programs</h1>
<div><p>You can follow the steps in this topic to call the Qp2CallPase()
and Qp2CallPase2() ILE procedures from within other ILE procedures to start
and run an <span class="keyword">i5/OS™</span> PASE program.
An example follows.</p>
<div class="p"><span>Use the Qp2RunPase() API to run an <span class="keyword">i5/OS</span> PASE
program.</span> You specify the program name, argument strings, and environment
variables.<p>The Qp2RunPase() API runs an <span class="keyword">i5/OS</span> PASE
program in the job where it is called. It loads an <span class="keyword">i5/OS</span> PASE
program (including any necessary shared libraries) and then transfers control
to the program.</p>
</div>
<div class="section"><p>This API gives you more control over how <span class="keyword">i5/OS</span> PASE
runs than QP2SHELL() and QP2TERM().</p>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rzalfileprogcallsexamp.htm">Example: Run an i5/OS PASE program from within i5/OS programs</a></strong><br />
The examples illustrated in this topic show an ILE program that
calls an <span class="keyword">i5/OS</span> PASE program,
and the <span class="keyword">i5/OS</span> PASE program
that is called by the ILE program.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzalfrunning.htm" title="You can read this topic for information and examples about starting an i5/OS PASE program in a job, and calling i5/OS PASE procedures from your ILE programs.">Run i5/OS PASE programs and procedures</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../apis/qp2runpase.htm">Qp2RunPase()--Run an i5/OS PASE Program</a></div>
</div>
</div>
</body>
</html>