ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/dspcurdir.htm

114 lines
3.4 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Display Current Directory (DSPCURDIR)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="DSPCURDIR.Top_Of_Page"></a>
<h2>Display Current Directory (DSPCURDIR)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#DSPCURDIR.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DSPCURDIR.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DSPCURDIR.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DSPCURDIR"></a>
<p>The Display Current Directory (DSPCURDIR) command is used to display the name of the current working directory.
</p>
<p><b>Restrictions:</b>
</p>
<ol>
<li>The user must have execute (*X) authority to the current directory.
</li>
<li>The user must have read, execute (*RX) authority to each directory in the path.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPCURDIR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DSPCURDIR.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top"><a href="#DSPCURDIR.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*</u></b>, *PRINT</td>
<td valign="top">Optional, Positional 1</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DSPCURDIR.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DSPCURDIR.OUTPUT"></a>
<h3>Output (OUTPUT)</h3>
<p>Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
</p>
<dl>
<dt><b><u>*</u></b></dt>
<dd>The output is displayed for interactive jobs or printed with the job's spooled output for non-interactive jobs.
</dd>
</dl>
<dl>
<dt><b>*PRINT</b></dt>
<dd>The output is printed with the job's spooled output.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPCURDIR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPCURDIR.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Displaying the Current Directory</b>
</p>
<p>
<pre>
DSPCURDIR
</pre>
</p>
<p>This command displays the name of the current working directory.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPCURDIR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPCURDIR.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPFA085</b></dt>
<dd>Home directory not found for user &amp;1.
</dd>
<dt><b>CPFA0CF</b></dt>
<dd>Error occurred determining the current directory.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPCURDIR.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>