ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzal7_5.4.0.1/rzal7servjob.htm

59 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="concept" />
<meta name="DC.Title" content="REXEC server jobs and job names" />
<meta name="abstract" content="This topic includes information about REXEC server jobs and job names." />
<meta name="description" content="This topic includes information about REXEC server jobs and job names." />
<meta name="DC.Relation" scheme="URI" content="rzal7overview.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="servjob" />
<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>REXEC server jobs and job names</title>
</head>
<body id="servjob"><a name="servjob"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">REXEC server jobs and job names</h1>
<div><p>This topic includes information about REXEC server jobs and job
names.</p>
<p>REXEC server jobs start when you run the STRTCP command and set the REXEC
AUTOSTART parameter to *YES. You can also start REXEC server jobs by running
the STRTCPSVR command with a SERVER parameter of *REXEC or *ALL. These jobs
run in the QSYSWRK subsystem. Their purpose is monitoring and processing
requests from REXEC client users. The format for the names of these jobs is
QTRXC<var class="varname">nnnnn</var>, where <var class="varname">nnnnn</var> is
a 5-digit decimal number.</p>
<div class="p">To work with jobs in the QSYSWRK subsystem, including REXEC server jobs,
specify the following command: <pre>WRKSBSJOB SBS(QSYSWRK)</pre>
</div>
<p>If you choose to have commands processed by the Qshell command interpreter,
you start Qshell by using the spawn() application programming interface (API)
to create a child job.</p>
<p>If you choose to have commands interpreted as spawn path names, the REXEC
server treats command strings as path names and passes them to the spawn()
API. Spawned child processes are batch jobs or prestart jobs. Shell scripts
are allowed for the child process. If you specify a shell script, the appropriate
shell interpreter program is called. The shell script must be a text file
and must contain this format on the first line of the file: <samp class="codeph">#!interpreter_path &lt;options&gt;</samp>.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzal7overview.htm" title="The Remote Execution (REXEC) server is a Transmission Control Protocol/Internet Protocol (TCP/IP) application that allows a client user to submit system commands to a remote server system. The Remote Execution Protocol (REXEC) allows processing of these commands or programs on any host in the network. The local host then receives the results of the command processing.">REXEC</a></div>
</div>
</div>
</body>
</html>