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

667 lines
24 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>Add Report to OnDemand (ADDRPTOND)</title>
</head>
<body bgcolor="white">
<a name="ADDRPTOND.Top_Of_Page"></a>
<h2>Add Report to OnDemand (ADDRPTOND)</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="#ADDRPTOND.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ADDRPTOND.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ADDRPTOND.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ADDRPTOND"></a>
<p>The Add Report to OnDemand (ADDRPTOND) command allows you to load reports in OnDemand. During this process the report is broken into segments, indexed, compressed, and stored on disk for retrieval and later migration to optical or tape media if desired.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ADDRPTOND.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="#ADDRPTOND.APPGRP"><b>APPGRP</b></a></td>
<td valign="top">Application group</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#ADDRPTOND.APP"><b>APP</b></a></td>
<td valign="top">Application</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDRPTOND.INPUT"><b>INPUT</b></a></td>
<td valign="top">Input</td>
<td valign="top"><b><u>*SPLF</u></b>, *FILE, *STMF</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#ADDRPTOND.FILE"><b>FILE</b></a></td>
<td valign="top">File</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: File</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#ADDRPTOND.MBR"><b>MBR</b></a></td>
<td valign="top">Member</td>
<td valign="top"><i>Name</i>, <b><u>*FIRST</u></b>, *LAST</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDRPTOND.STMF"><b>STMF</b></a></td>
<td valign="top">Stream file</td>
<td valign="top"><i>Path name</i></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDRPTOND.SPLF"><b>SPLF</b></a></td>
<td valign="top">Spooled file</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="4"><a href="#ADDRPTOND.JOB"><b>JOB</b></a></td>
<td valign="top">Job name</td>
<td valign="top">Single values: <b><u>*</u></b><br>Other values: <i>Qualified job name</i></td>
<td valign="top" rowspan="4">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Job name</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: User</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 3: Number</td>
<td valign="top">000000-999999</td>
</tr><tr>
<td valign="top"><a href="#ADDRPTOND.SPLNBR"><b>SPLNBR</b></a></td>
<td valign="top">Spooled file number</td>
<td valign="top">1-999999, <b><u>*ONLY</u></b>, *LAST, *ANY</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDRPTOND.JOBSYSNAME"><b>JOBSYSNAME</b></a></td>
<td valign="top">Job system name</td>
<td valign="top"><i>Name</i>, <b><u>*ONLY</u></b>, *CURRENT, *ANY</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#ADDRPTOND.CRTDATE"><b>CRTDATE</b></a></td>
<td valign="top">Spool file created</td>
<td valign="top">Single values: <b><u>*ONLY</u></b>, *LAST<br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Creation date</td>
<td valign="top">
<i>Date</i></td>
</tr>
<tr>
<td valign="top">Element 2: Creation time</td>
<td valign="top">
<i>Time</i>, <b><u>*ONLY</u></b>, *LAST</td>
</tr>
<tr>
<td valign="top"><a href="#ADDRPTOND.INSTANCE"><b>INSTANCE</b></a></td>
<td valign="top">Instance</td>
<td valign="top"><i>Character value</i>, <b><u>QUSROND</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDRPTOND.DLTINPUT"><b>DLTINPUT</b></a></td>
<td valign="top">Delete input</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDRPTOND.IDXONLY"><b>IDXONLY</b></a></td>
<td valign="top">Run indexing only</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#ADDRPTOND.SBMJOB"><b>SBMJOB</b></a></td>
<td valign="top">Submit to batch</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#ADDRPTOND.JOBD"><b>JOBD</b></a></td>
<td valign="top">Job description</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Job description</td>
<td valign="top"><i>Name</i>, <b><u>QOND400</u></b></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>QRDARS</u></b>, *LIBL, *CURLIB</td>
</tr><tr>
<td valign="top"><a href="#ADDRPTOND.ERROPT"><b>ERROPT</b></a></td>
<td valign="top">Error option</td>
<td valign="top"><b><u>*RMVRPT</u></b>, *NORMVRPT</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ADDRPTOND.APPGRP"></a>
<h3>Application group (APPGRP)</h3>
<p>Specifies the name of the application group to be used in the load process.
</p>
<p>This is a required parameter.
</p>
<p>
<b>Note: </b>If you press the F4 key for this parameter while prompting the command, a list of the valid entries is presented to you. The entries listed may not be valid if the parameter INSTANCE is not QUSROND.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the application group name. If the value to be entered contains lower case letters, blanks, or special characters, it must be enclosed in apostrophes.
</dd>
<dt><b>*JOBNAME</b></dt>
<dd>Use the job name as the source for the application group name.
</dd>
</dl>
<p>The following special values are only valid when the parameter INPUT is *SPLF.
</p>
<dl>
<dt><b>*SPLFNAME</b></dt>
<dd>Use the spooled file name as the source for the application group name.
</dd>
<dt><b>*FORMTYPE</b></dt>
<dd>Use the form type as the source for the application group name.
</dd>
<dt><b>*USERDATA</b></dt>
<dd>Use the user data as the source for the application group name.
</dd>
<dt><b>*USRDFNOPT1</b></dt>
<dd>Use the user-defined option 1 as the source for the application group name.
</dd>
<dt><b>*USRDFNOPT2</b></dt>
<dd>Use the user-defined option 2 as the source for the application group name.
</dd>
<dt><b>*USRDFNOPT3</b></dt>
<dd>Use the user-defined option 3 as the source for the application group name.
</dd>
<dt><b>*USRDFNOPT4</b></dt>
<dd>Use the user-defined option 4 as the source for the application group name.
</dd>
<dt><b>*USRDFNDTA</b></dt>
<dd>Use the user-defined data as the source for the application group name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.APP"></a>
<h3>Application (APP)</h3>
<p>Specifies the name of the application to be used in the load process.
</p>
<p>
<b>Note: </b>If you press the F4 key for this parameter while prompting the command, a list of the valid entries is presented to you. The entries listed may not be valid if the parameter INSTANCE is not QUSROND.
</p>
<dl>
<dt><b><u>*APPGRP</u></b></dt>
<dd>Use the application group name as the source for the application name. This value will also work if the application group only contains one application regardless of the name of the application.
</dd>
<dt><b>*JOBNAME</b></dt>
<dd>Use the job name as the source for the application name.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the application name. If the value to be entered contains lower case letters, blanks, or special characters, it must enclosed in apostrophes.
</dd>
</dl>
<p>The following special values are only valid when the parameter INPUT is *SPLF.
</p>
<dl>
<dt><b>*SPLFNAME</b></dt>
<dd>Use the spooled file name as the source for the application name.
</dd>
<dt><b>*FORMTYPE</b></dt>
<dd>Use the form type as the source for the application name.
</dd>
<dt><b>*USERDATA</b></dt>
<dd>Use the user data as the source for the application name.
</dd>
<dt><b>*USRDFNOPT1</b></dt>
<dd>Use the user-defined option 1 as the source for the application name.
</dd>
<dt><b>*USRDFNOPT2</b></dt>
<dd>Use the user-defined option 2 as the source for the application name.
</dd>
<dt><b>*USRDFNOPT3</b></dt>
<dd>Use the user-defined option 3 as the source for the application name.
</dd>
<dt><b>*USRDFNOPT4</b></dt>
<dd>Use the user-defined option 4 as the source for the application name.
</dd>
<dt><b>*USRDFNDTA</b></dt>
<dd>Use the user-defined data as the source for the application name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.INPUT"></a>
<h3>Input (INPUT)</h3>
<p>Specifies where to find the data to load.
</p>
<dl>
<dt><b><u>*SPLF</u></b></dt>
<dd>The input data is read from the spooled file specified by the SPLF, JOB, and SPLNBR parameters.
</dd>
<dt><b>*FILE</b></dt>
<dd>The input data is read from the database file specified by the FILE and MBR parameters.
</dd>
<dt><b>*STMF</b></dt>
<dd>The input data is read from the stream file specified by the STMF parameter.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.FILE"></a>
<h3>File (FILE)</h3>
<p>Specifies database file that contains data to load.
</p>
<p><b>Qualifier 1: File</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the database file that contains the report data to store. The first character in each line of this data must contain a valid forms control character.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the job's library list are searched until the first match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is where the file is located. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the database file is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.MBR"></a>
<h3>Member (MBR)</h3>
<p>Specifies the name of the database member which contains the data to load.
</p>
<dl>
<dt><b><u>*FIRST</u></b></dt>
<dd>The first member in the database file contains the report data to load.
</dd>
<dt><b>*LAST</b></dt>
<dd>The last member in the database file contains the report data to load.
</dd>
<dt><b><i>member-name</i></b></dt>
<dd>Specify the name of the database member that contains the data to load.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.STMF"></a>
<h3>Stream file (STMF)</h3>
<p>Specifies the path to the stream file that contains the data to load.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.SPLF"></a>
<h3>Spooled file (SPLF)</h3>
<p>Specifies the name of the spooled file to use as input to the load process. This is the file name that was specified by the user program when the file was created, or the name of the device file used to create this file.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.JOB"></a>
<h3>Job name (JOB)</h3>
<p>Specifies the name of the job which produced the spooled file.
</p>
<dl>
<dt><b><u>*</u></b></dt>
<dd>Use the job from which this command is entered.
</dd>
<dt><b><i>job-name</i></b></dt>
<dd>Specify the name of the job to use. If no job qualifier is given, all of the jobs currently in the system are searched for the simple job name. If duplicates of the specified name are found, a list of messages containing the qualified job names of all duplicates is displayed.
</dd>
<dt><b><i>user-name</i></b></dt>
<dd>Specify the name that identifies the user profile under which the job is run.
</dd>
<dt><b><i>number</i></b></dt>
<dd>Specify the job number assigned by the system.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.SPLNBR"></a>
<h3>Spooled file number (SPLNBR)</h3>
<p>Specifies, by number, which of the job's spooled files to load.
</p>
<dl>
<dt><b><u>*ONLY</u></b></dt>
<dd>Only one spooled file in the job has the specified file name; therefore, the number of the spooled file is not necessary.
</dd>
<dt><b>*LAST</b></dt>
<dd>The spooled file with the highest number and the specified file name is used.
</dd>
</dl>
<dl>
<dt><b>*ANY</b></dt>
<dd>The spooled file number is not used to determine which spooled file is used. Use this value when the job system name parameter or the spooled file create date and time parameter is to take precedence over the spooled file number when selecting a spooled file.
</dd>
</dl>
<dl>
<dt><b><i>spooled-file-number</i></b></dt>
<dd>Specify the number of the spooled file having the specified file name to use.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.JOBSYSNAME"></a>
<h3>Job system name (JOBSYSNAME)</h3>
<p>Specifies the name of the system where the job that created the spooled file (JOB parameter) ran. This parameter is considered after the job name, user name, job number, spooled file name, and spooled file number parameter requirements have been met.
</p>
<dl>
<dt><b><u>*ONLY</u></b></dt>
<dd>There is one spooled file with the specified job name, user name, job number, spooled file name, spooled file number, and spooled file create date and time.
</dd>
<dt><b>*CURRENT</b></dt>
<dd>The spooled file created on the current system with the specified job name, user name, job number, spooled file name, spooled file number, and create date and time is used.
</dd>
<dt><b>*ANY</b></dt>
<dd>The job system name is not used to determine which spooled file is used. Use this value when the spooled file create date and time parameter is to take precedence over the job system name when selecting a spooled file.
</dd>
<dt><b><i>job-system-name</i></b></dt>
<dd>Specify the name of the system where the job that created the spooled file ran.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.CRTDATE"></a>
<h3>Spool file created (CRTDATE)</h3>
<p>Specifies the date and time the spooled file was created. This parameter is considered after the job name, user name, job number, spooled file name, spooled file number, and job system name parameter requirements have been met.
</p>
<p>The possible single values are:
</p>
<dl>
<dt><b><u>*ONLY</u></b></dt>
<dd>There is one spooled file with the specified job name, user name, job number, spooled file name, spooled file number, and job system name.
</dd>
<dt><b>*LAST</b></dt>
<dd>The spooled file with the latest create date and time of the specified job name, user name, job number, spooled file name, spooled file number, and job system name is used.
</dd>
</dl>
<p>The possible create date value is:
</p>
<dl>
<dt><b><i>spooled-file-create-date</i></b></dt>
<dd>Specify the date the spooled file was created.
</dd>
</dl>
<p>The possible create time values are:
</p>
<dl>
<dt><b><u>*ONLY</u></b></dt>
<dd>There is one spooled file with the specified job name, user name, job number, spooled file name, spooled file number, job system name, and spooled file create date.
</dd>
<dt><b>*LAST</b></dt>
<dd>The spooled file with the latest create time of the specified job name, user name, job number, spooled file name, spooled file number, job system name, and spooled file create date is used.
</dd>
<dt><b><i>spooled-file-create-time</i></b></dt>
<dd>Specify the time the spooled file was created.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.INSTANCE"></a>
<h3>Instance (INSTANCE)</h3>
<p>Specifies the name of the instance to use.
</p>
<dl>
<dt><b><u>QUSROND</u></b></dt>
<dd>The default OnDemand instance is used.
</dd>
<dt><b><i>instance-name</i></b></dt>
<dd>Specify the name of the instance that is to be used. By definition, the instance must be on the system that the command is run.
</dd>
<dt><b><i>library-server-name</i></b></dt>
<dd>Specify the TCP/IP host name of the library server. The name can also be specified as a TCP/IP dotted decimal address in the form of nnn.nnn.nnn.nnn.
<p>When a server name or TCP/IP address is entered, OnDemand uses the instance on that server that is using the default port. In most cases, this will also use the default instance.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.DLTINPUT"></a>
<h3>Delete input (DLTINPUT)</h3>
<p>Specifies whether the input data is deleted after the data is successfully loaded by OnDemand. An unsuccessful ADDRPTOND does NOT delete the input.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>The input data is kept.
</dd>
<dt><b>*YES</b></dt>
<dd>The input data is deleted.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.IDXONLY"></a>
<h3>Run indexing only (IDXONLY)</h3>
<p>Specifies whether to run only the indexing part of the load.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>Run the complete load process.
</dd>
<dt><b>*YES</b></dt>
<dd>Run only the indexing process.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.SBMJOB"></a>
<h3>Submit to batch (SBMJOB)</h3>
<p>Specify if you want to store the specified report interactively or in a batch job.
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>This command should be submitted to run in a different job.
</dd>
<dt><b>*NO</b></dt>
<dd>This command should be run within the current job. If you are entering this command from a terminal, this will prevent you from doing any other work from this terminal session until this command completes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.JOBD"></a>
<h3>Job description (JOBD)</h3>
<p>Specifies the name of the job description used for the submitted job.
</p>
<p><b>Qualifier 1: Job description</b>
</p>
<dl>
<dt><b><u>QOND400</u></b></dt>
<dd>The QOND400 job description is used as the job description for the submitted job.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name (name/name) of the job description used for the job.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>QRDARS</u></b></dt>
<dd>Library QRDARS is used as the job description's library.
</dd>
<dt><b>*LIBL</b></dt>
<dd>All libraries in the job's library list are searched until the first match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the job description name. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the job description name is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDRPTOND.ERROPT"></a>
<h3>Error option (ERROPT)</h3>
<p>Specifies what to do if the load process is not successful.
</p>
<dl>
<dt><b><u>*RMVRPT</u></b></dt>
<dd>Remove all data loaded up to the point of the failure.
</dd>
<dt><b>*NORMVRPT</b></dt>
<dd>No data is removed. See the system log to determine what was added.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDRPTOND.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Simple Example</b>
</p>
<p>
<pre>
ADDRPTOND APPGRP(CHECKSTMTS) SPLF(CKSTMTPRTF)
</pre>
</p>
<p>This command submits a job to batch that will archive a spooled file named CKSTMTPRTF from the current job into an OnDemand Common Server application/application group called CHECKSTMTS. All other command parameter defaults are used, including the default instance name of QUSROND.
</p>
<p><b>Example 2: More Complex Example</b>
</p>
<p>
<pre>
ADDRPTOND APPGRP(CHECKSTMTS) APP('Corporate Account Statements')
SPLF(CKSTMTPRTF) JOB(123456/OPERATOR/NIGHTBATCH)
SPLNBR(*LAST) INSTANCE(ACCTING)
</pre>
</p>
<p>This command submits a job to batch that will archive a spooled file named CKSTMTPRTF from a nightly batch job called NIGHTBATCH into an OnDemand Common Server application called Corporate Account Statements within an application group called CHECKSTMTS. The data will be archived into an instance named ACCTING.
</p>
<p><b>Example 3: More Complex Example</b>
</p>
<p>
<pre>
ADDRPTOND APPGRP(INVOICES) INPUT(*STMF)
STMF('/PDFFiles/Inv0214.pdf')
</pre>
</p>
<p>This command submits a job to batch that will archive a stream file named Inv0214.pdf located in directory /PDFFiles into an OnDemand Common Server application called INVOICES within an application group called INVOICES. The data will be archived into the default instance named QUSROND.
</p>
<p><b>Example 4: More Complex Example</b>
</p>
<p>
<pre>
ADDRPTOND APPGRP(INVOICES) INPUT(*STMF)
STMF('/PDFFiles/Inv0214.pdf')
</pre>
</p>
<p>This command submits a job to batch that will archive a stream file named Inv0214.pdf located in directory /PDFFiles into an OnDemand Common Server application called INVOICES within an application group called INVOICES. The data will be archived into the default instance, QUSROND.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDRPTOND.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF1338</b></dt>
<dd>Errors occurred on SBMJOB command.
</dd>
<dt><b>CPF3342</b></dt>
<dd>Job &amp;5/&amp;4/&amp;3 not found.
</dd>
<dt><b>CPF3343</b></dt>
<dd>Duplicate job names found.
</dd>
<dt><b>CPF3344</b></dt>
<dd>File &amp;1 number &amp;8 no longer in the system.
</dd>
<dt><b>CPF3492</b></dt>
<dd>Not authorized to spooled file.
</dd>
<dt><b>CPF3C40</b></dt>
<dd>Spooled file &amp;4 not found.
</dd>
<dt><b>OND0211</b></dt>
<dd>ADDRPTOND command ended in error.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDRPTOND.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>