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

68 lines
3.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="Run an i5/OS PASE program with QP2TERM()" />
<meta name="abstract" content="You use this i5/OS program to run an i5/OS PASE program in an interactive shell environment." />
<meta name="description" content="You use this i5/OS program to run an i5/OS PASE program in an interactive shell environment." />
<meta name="DC.Relation" scheme="URI" content="rzalfrunning.htm" />
<meta name="DC.Relation" scheme="URI" content="../apis/qp2term.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzalc/pase.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="rzalfterm" />
<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 with QP2TERM()</title>
</head>
<body id="rzalfterm"><a name="rzalfterm"><!-- --></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 with QP2TERM()</h1>
<div><p>You use this <span class="keyword">i5/OS™</span> program
to run an <span class="keyword">i5/OS</span> PASE program
in an interactive shell environment.</p>
<div class="p"><span>Start an <span class="keyword">i5/OS</span> PASE
interactive terminal session with the QP2TERM() program.</span> <div class="p">The
following command writes the default Korn shell prompt (/QOpenSys/usr/bin/sh)
to the screen:<pre>call qp2term</pre>
</div>
</div>
<div class="section"><p>From this prompt, you run an <span class="keyword">i5/OS</span> PASE
program in a separate batch job. QP2TERM() uses the interactive job to display
output and to accept input for files stdin, stdout, and stderr in the batch
job.</p>
<p>The Korn shell is the default, but you can optionally specify the
path name of any <span class="keyword">i5/OS</span> PASE
program that you want to run, as well as any argument strings to pass to the
program.</p>
<p>You can run any <span class="keyword">i5/OS</span> PASE
program and any of the utilities from the interactive session that you start
with QP2TERM(); stdout and stderr are written and scrolled in
the terminal screen.</p>
</div>
</div>
<div>
<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/qp2term.htm">QP2TERM()--Run an i5/OS PASE Terminal Session</a></div>
<div><a href="../rzalc/pase.htm">i5/OS PASE shells and utilities</a></div>
</div>
</div>
</body>
</html>