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

275 lines
7.9 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>Create Document (CRTDOC)</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="CRTDOC.Top_Of_Page"></a>
<h2>Create Document (CRTDOC)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#CRTDOC.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CRTDOC.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CRTDOC.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CRTDOC"></a>
<p>The Create Document (CRTDOC) command allows you to create a new document when using OfficeVision/400.
</p>
<p>First the Create Document Details display is shown. Then, if the Enter key is pressed on this display, the Edit display is shown.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDOC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CRTDOC.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="#CRTDOC.DOC"><b>DOC</b></a></td>
<td valign="top">Document</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDOC.FLR"><b>FLR</b></a></td>
<td valign="top">Folder</td>
<td valign="top"><i>Character value</i>, <b><u>*PRV</u></b></td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDOC.TXTPRF"><b>TXTPRF</b></a></td>
<td valign="top">Text profile</td>
<td valign="top"><i>Name</i>, <b><u>*DFT</u></b>, *SYSTEM</td>
<td valign="top">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDOC.TEXT"><b>TEXT</b></a></td>
<td valign="top">Document description</td>
<td valign="top"><i>Character value</i>, <b><u>*DFT</u></b></td>
<td valign="top">Optional, Positional 4</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDOC.DETAILS"><b>DETAILS</b></a></td>
<td valign="top">Document details</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional, Positional 5</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDOC.EDIT"><b>EDIT</b></a></td>
<td valign="top">Edit document</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional, Positional 6</td>
</tr>
<tr>
<td valign="top"><a href="#CRTDOC.EXITPNL"><b>EXITPNL</b></a></td>
<td valign="top">Display exit panel</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional, Positional 7</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CRTDOC.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CRTDOC.DOC"></a>
<h3>Document (DOC)</h3>
<p>Specifies the name of the document to be created. A maximum of 12 characters can be specified in the required format (document.ext).
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDOC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDOC.FLR"></a>
<h3>Folder (FLR)</h3>
<p>Specifies the name of the folder that will contain the document being created.
</p>
<dl>
<dt><b><u>*PRV</u></b></dt>
<dd>The name of the folder used in your last session will contain the document.
</dd>
<dt><b><i>folder-name</i></b></dt>
<dd>Specify the name of the folder that will contain the document being created.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDOC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDOC.TXTPRF"></a>
<h3>Text profile (TXTPRF)</h3>
<p>Specifies the text profile used as the base for the document.
</p>
<dl>
<dt><b><u>*DFT</u></b></dt>
<dd>The default text profile is used.
</dd>
<dt><b>*SYSTEM</b></dt>
<dd>The system text profile is used.
</dd>
<dt><b><i>profile-name</i></b></dt>
<dd>Specify the name of the text profile to use. A maximum of 12 characters can be specified.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDOC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDOC.TEXT"></a>
<h3>Document description (TEXT)</h3>
<p>Specifies the document description.
</p>
<dl>
<dt><b><u>*DFT</u></b></dt>
<dd>A default description is specified for the document.
</dd>
<dt><b><i>description</i></b></dt>
<dd>Specify a maximum of 44 characters, enclosed in apostrophes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDOC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDOC.DETAILS"></a>
<h3>Document details (DETAILS)</h3>
<p>Specifies whether to request or bypass the Document Details display.
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>The Document Details display is shown.
</dd>
<dt><b>*NO</b></dt>
<dd>The Document Details display is not shown.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDOC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDOC.EDIT"></a>
<h3>Edit document (EDIT)</h3>
<p>Species whether document editing is bypassed.
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>The document is edited after being created.
</dd>
<dt><b>*NO</b></dt>
<dd>The document is not edited after being created.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDOC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTDOC.EXITPNL"></a>
<h3>Display exit panel (EXITPNL)</h3>
<p>Specifies whether the Exit Document display is shown when F3(Exit) or F12(Cancel) is pressed to end the editing.
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>The Exit Document display is shown when F3(Exit) or F12(Cancel) is pressed to end the editing.
</dd>
<dt><b>*NO</b></dt>
<dd>The Exit Document display is not shown when F3(Exit) or F12(Cancel) is pressed to end the editing.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDOC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTDOC.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CRTDOC DOC(NEWDOC) FLR(MYFLR)
</pre>
</p>
<p>This command creates a new document called NEWDOC in folder MYFLR.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDOC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTDOC.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>OFCFFFC</b></dt>
<dd>User storage capacity exceeded.
</dd>
<dt><b>OFCFFFD</b></dt>
<dd>Damaged object found.
</dd>
<dt><b>OFC8EA3</b></dt>
<dd>OfficeVision for AS/400 editor is not available to resolve to a display.
</dd>
<dt><b>OFC80B5</b></dt>
<dd>OfficeVision for OS/400 editor is not available on the system.
</dd>
<dt><b>OFC800A</b></dt>
<dd>Folder is in use.
</dd>
<dt><b>OFC800E</b></dt>
<dd>&amp;1 already exists as document or folder.
</dd>
<dt><b>OFC800F</b></dt>
<dd>Display does not support text.
</dd>
<dt><b>OFC8006</b></dt>
<dd>Folder not found.
</dd>
<dt><b>OFC8008</b></dt>
<dd>Request not allowed with folder.
</dd>
<dt><b>OFC801D</b></dt>
<dd>Maximum number of text sessions active.
</dd>
<dt><b>OFC801E</b></dt>
<dd>DW editor or text assist cannot be loaded.
</dd>
<dt><b>OFC8017</b></dt>
<dd>Folder directory is full.
</dd>
<dt><b>OFC8019</b></dt>
<dd>Required module not on system.
</dd>
<dt><b>OFC802E</b></dt>
<dd>Request failed for PC editor.
</dd>
<dt><b>OFC821B</b></dt>
<dd>Document &amp;1 needs to be reclaimed.
</dd>
<dt><b>OFC9811</b></dt>
<dd>Folder needs to be reclaimed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTDOC.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>