591 lines
22 KiB
HTML
591 lines
22 KiB
HTML
|
|
||
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>Work with Spooled Files (WRKSPLF)</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="WRKSPLF.Top_Of_Page"></a>
|
||
|
<h2>Work with Spooled Files (WRKSPLF)</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="#WRKSPLF.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#WRKSPLF.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#WRKSPLF.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="WRKSPLF"></a>
|
||
|
<p>The Work with Spooled Files (WRKSPLF) command displays a list of all the spooled files on the system or a selected list from them. You can choose to change, hold, delete, display, or release any or all of the entries that are displayed.
|
||
|
</p>
|
||
|
<p><b>Performance Considerations:</b> The amount of time needed to show the list of spooled files depends on the selection criteria used and the number of spooled files in the list. On a system with a large number of spooled files, it may be necessary to view a selected list of the system's spooled files. For additional performance information for WRKSPLF, see the Spool Performance Considerations experience report in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKSPLF.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="WRKSPLF.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" rowspan="7"><a href="#WRKSPLF.SELECT"><b>SELECT</b></a></td>
|
||
|
<td valign="top">Select files for</td>
|
||
|
<td valign="top"><i>Element list</i></td>
|
||
|
<td valign="top" rowspan="7">Optional, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: User</td>
|
||
|
<td valign="top">
|
||
|
<i>Generic name, name</i>, <b><u>*CURRENT</u></b>, *ALL</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 2: Print device</td>
|
||
|
<td valign="top">
|
||
|
<i>Name</i>, <b><u>*ALL</u></b>, *OUTQ</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 3: Form type</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*ALL</u></b>, *STD</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 4: User data</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*ALL</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 5: ASP</td>
|
||
|
<td valign="top">
|
||
|
1-32, <b><u>*ALL</u></b>, *ASPDEV</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 6: Spooled file</td>
|
||
|
<td valign="top">
|
||
|
<i>Generic name, name</i>, <b><u>*ALL</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="4"><a href="#WRKSPLF.JOB"><b>JOB</b></a></td>
|
||
|
<td valign="top">Job name</td>
|
||
|
<td valign="top">Single values: <b><u>*ALL</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>Generic name, name</i></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: User</td>
|
||
|
<td valign="top"><i>Generic name, name</i>, <b><u>*ALL</u></b></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 3: Number</td>
|
||
|
<td valign="top">000000-999999, <b><u>*ALL</u></b></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top" rowspan="7"><a href="#WRKSPLF.PERIOD"><b>PERIOD</b></a></td>
|
||
|
<td valign="top">Time period</td>
|
||
|
<td valign="top"><i>Element list</i></td>
|
||
|
<td valign="top" rowspan="7">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: Start time and date</td>
|
||
|
<td valign="top">
|
||
|
<i>Element list</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 1: Beginning time</td>
|
||
|
<td valign="top">
|
||
|
<i>Time</i>, <b><u>*AVAIL</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 2: Beginning date</td>
|
||
|
<td valign="top">
|
||
|
<i>Date</i>, <b><u>*BEGIN</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 2: End time and date</td>
|
||
|
<td valign="top">
|
||
|
<i>Element list</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 1: Ending time</td>
|
||
|
<td valign="top">
|
||
|
<i>Time</i>, <b><u>*AVAIL</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 2: Ending date</td>
|
||
|
<td valign="top">
|
||
|
<i>Date</i>, <b><u>*END</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#WRKSPLF.ASPDEV"><b>ASPDEV</b></a></td>
|
||
|
<td valign="top">ASP device</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*</u></b>, *SYSBAS, *CURASPGRP</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#WRKSPLF.OUTPUT"><b>OUTPUT</b></a></td>
|
||
|
<td valign="top">Output</td>
|
||
|
<td valign="top"><b><u>*</u></b>, *PRINT</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#WRKSPLF.DSPFMT"><b>DSPFMT</b></a></td>
|
||
|
<td valign="top">Display format</td>
|
||
|
<td valign="top"><b><u>*INLENV</u></b>, *S36FMT, *NORMAL</td>
|
||
|
<td valign="top">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#WRKSPLF.ASTLVL"><b>ASTLVL</b></a></td>
|
||
|
<td valign="top">Assistance level</td>
|
||
|
<td valign="top"><b><u>*PRV</u></b>, *USRPRF, *BASIC, *INTERMED</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKSPLF.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="WRKSPLF.SELECT"></a>
|
||
|
<h3>Select files for (SELECT)</h3>
|
||
|
<p>Specifies which group of files is selected to be displayed. Positional values can be specified to select the files: the user that created the file, the device that the file is queued for, the form type specified, the user data tag associated with the file, the auxiliary storage pool the file is in, or the spooled file name. Only files that meet each of the values are selected.
|
||
|
</p>
|
||
|
<p><b>Element 1: User</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*CURRENT</u></b></dt>
|
||
|
<dd>Only files created by the user running this command are selected.
|
||
|
</dd>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>Files created by all users are selected.
|
||
|
</dd>
|
||
|
<dt><b><i>generic-name</i></b></dt>
|
||
|
<dd>Files created by all users that meet the criteria are selected. A generic name is a character string that contains one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. If an asterisk is not specified with the name, the system assumes that the name is a complete user name.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify a user name. Only files created by that user name are selected.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 2: Print device</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>Files on any device-created or user-created output queue are selected.
|
||
|
</dd>
|
||
|
<dt><b>*OUTQ</b></dt>
|
||
|
<dd>All files on any user-created output queue are selected. A user-created output queue is any output queue that is not automatically created by a device. A user-created output queue does not generally have the same name as a device, but if it does, it does not reside in library QUSRSYS.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify a device name. Only files on the device-created output queue for that device are selected. A device-created output queue is one that has the same name as a device and resides in the QUSRSYS library. Unless it already exists, it will automatically be created by the system when the device is created. A device-created output queue cannot be deleted.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 3: Form type</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>Files for all form types are selected.
|
||
|
</dd>
|
||
|
<dt><b>*STD</b></dt>
|
||
|
<dd>Only files that specify the standard form type are selected.
|
||
|
</dd>
|
||
|
<dt><b><i>character-value</i></b></dt>
|
||
|
<dd>Specify the form type to select the file.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 4: User data</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>Files with any user data tag specified are selected.
|
||
|
</dd>
|
||
|
<dt><b><i>generic-user-data</i></b></dt>
|
||
|
<dd>Files with a user data tag that matches the criteria are selected. A generic user data tag is a character string that contains one or more characters and ends with an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. If an asterisk is embedded in the middle of the string, for example 'AB*C*', it will be treated as part of the comparison string.
|
||
|
</dd>
|
||
|
<dt><b><i>user-data</i></b></dt>
|
||
|
<dd>Specify the user data tag to select the file.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 5: ASP</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>All files as specified in the Auxiliary Storage Pool Device (ASPDEV) parameter are selected.
|
||
|
</dd>
|
||
|
<dt><b>*ASPDEV</b></dt>
|
||
|
<dd>Files specified in the Auxiliary Storage Pool Device (ASPDEV) parameter are selected.
|
||
|
</dd>
|
||
|
<dt><b><i>1-32</i></b></dt>
|
||
|
<dd>Specify the auxiliary storage pool (ASP) of the files being selected.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 6: Spooled file</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>Files with any name are selected.
|
||
|
</dd>
|
||
|
<dt><b><i>generic-name</i></b></dt>
|
||
|
<dd>All spooled files with a name that matches the generic name are selected. A generic name is a character string that contains one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. If an asterisk is not specified with the name, the system assumes that the name is a complete spooled file name.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the spooled files to select.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKSPLF.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKSPLF.JOB"></a>
|
||
|
<h3>Job name (JOB)</h3>
|
||
|
<p>Specifies the name of the job or jobs that created the spooled files to be selected.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>This parameter is allowed only if *ALL is specified for the user name element of the SELECT parameter.
|
||
|
</p>
|
||
|
<p><b>Single values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>Spooled files created by all jobs are to be included.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 1: Select jobs</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>generic-name</i></b></dt>
|
||
|
<dd>Spooled files created by jobs with the generic name specified are to be included. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic job name specifies all jobs with job names that begin with the generic prefix.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Spooled files created by jobs with the name specified are to be included.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 2: User</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>All spooled files created by jobs that match the specified job name are included.
|
||
|
</dd>
|
||
|
<dt><b><i>generic-name</i></b></dt>
|
||
|
<dd>Spooled files created by jobs with the generic user name specified are to be included.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Spooled files created by jobs with the user name specified are to be included.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 3: Number</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>All spooled files created by jobs that match the specified job name and user name are to be included.
|
||
|
</dd>
|
||
|
<dt><b><i>000001-999999</i></b></dt>
|
||
|
<dd>Specify the job number to further qualify the job name and user name.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKSPLF.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKSPLF.PERIOD"></a>
|
||
|
<h3>Time period (PERIOD)</h3>
|
||
|
<p>Specifies the period of time for selecting which spooled files are shown. This is the creation date and time of the spooled files. This parameter contains two element lists of two elements each.
|
||
|
</p>
|
||
|
<p><b>Element 1: Start time and date</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b></b></dt>
|
||
|
<dd>
|
||
|
<p><b>Element 1: Beginning time</b>
|
||
|
</p>
|
||
|
<p>One of the following is used to specify the starting time at which or after which the spooled files were created. Spooled files created before the specified time and date are not shown.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*AVAIL</u></b></dt>
|
||
|
<dd>Any spooled files created on or after the specified starting date are shown.
|
||
|
</dd>
|
||
|
<dt><b><i>time</i></b></dt>
|
||
|
<dd>Specify the starting time for the specified starting date. The time is specified in 24-hour format and can be specified with or without a time separator:
|
||
|
<ul>
|
||
|
<li>Without a time separator, specify a string of 4 or 6 digits (<b>hhmm</b> or <b>hhmmss</b>) where <b>hh</b> = hours, <b>mm</b> = minutes, and <b>ss</b> = seconds. Hours, minutes, and seconds must each be exactly 2 digits. Use leading zeros if necessary. Valid values for <b>hh</b> range from 00 through 23. Valid values for <b>mm</b> and <b>ss</b> range from 00 through 59.
|
||
|
</li>
|
||
|
<li>With a time separator, specify a string of 5 or 8 characters where the time separator specified for your job is used to separate the hours, minutes, and seconds. If you enter this command from the command line, the string must be enclosed in apostrophes. If a time separator other than the separator specified for your job is used, this command will fail.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd>
|
||
|
<dt><b></b></dt>
|
||
|
<dd>
|
||
|
<p><b>Element 2: Beginning date</b>
|
||
|
</p>
|
||
|
<p>One of the following is used to specify the starting date on which or after which the spooled files were created. Spooled files created before the specified date are not shown.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*BEGIN</u></b></dt>
|
||
|
<dd>Any spooled files that meet the other selection criteria are shown. When *BEGIN is specified for the starting date, a starting time value other than *AVAIL is ignored.
|
||
|
</dd>
|
||
|
<dt><b><i>date</i></b></dt>
|
||
|
<dd>Specify the starting date. The date must be entered in the format specified by the job value DATFMT and, if separators are used, the separator must be the date separator specified by the job value DATSEP.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 2: End time and date</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b></b></dt>
|
||
|
<dd>
|
||
|
<p><b>Element 1: Ending time</b>
|
||
|
</p>
|
||
|
<p>One of the following is used to specify the ending time before which the spooled files were created.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*AVAIL</u></b></dt>
|
||
|
<dd>Any spooled files created on or before the specified ending date are shown.
|
||
|
</dd>
|
||
|
<dt><b><i>time</i></b></dt>
|
||
|
<dd>Specify the ending time for the specified ending date before which the spooled files were created.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd>
|
||
|
<dt><b></b></dt>
|
||
|
<dd>
|
||
|
<p><b>Element 2: Ending date</b>
|
||
|
</p>
|
||
|
<p>One of the following is used to specify the ending date before which or on which the spooled files were created.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*END</u></b></dt>
|
||
|
<dd>The last day on which spooled files were created is used as the end date. If *END is specified, an ending time value other than *AVAIL is ignored.
|
||
|
</dd>
|
||
|
<dt><b><i>date</i></b></dt>
|
||
|
<dd>Specify the ending date. The date must be entered in the format specified by the job value DATFMT and, if separators are used, the separator must be the date separator specified by the job value DATSEP.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKSPLF.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKSPLF.ASPDEV"></a>
|
||
|
<h3>ASP device (ASPDEV)</h3>
|
||
|
<p>Specifies the auxiliary storage pool device from which spooled files are to be selected. This parameter is only valid if the ASP number (ASP) element of the SELECT parameter is *ALL or *ASPDEV.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*</u></b></dt>
|
||
|
<dd>Files which are found in the ASPs that are currently part of the thread's library name space are selected. This includes the system ASP (ASP 1), all defined basic user ASPs (ASPs 2-32), and if the thread has an ASP group, the primary and secondary ASPs in the thread's ASP group.
|
||
|
</dd>
|
||
|
<dt><b>*SYSBAS</b></dt>
|
||
|
<dd>Files which are found in the system ASP (ASP 1) and all defined basic user ASPs (ASPs 2-32) are selected.
|
||
|
</dd>
|
||
|
<dt><b>*CURASPGRP</b></dt>
|
||
|
<dd>Files which are found in the primary and secondary ASPs in the thread's ASP group are selected. If no ASP group is associated with the thread, an error will be issued.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the auxiliary storage pool device description. Files which are found in the specified primary or secondary ASP are selected. Only primary or secondary ASPs which are in the thread's ASP group may be specified. If no ASP group is associated with the thread, an error will be issued.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKSPLF.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKSPLF.OUTPUT"></a>
|
||
|
<h3>Output (OUTPUT)</h3>
|
||
|
<p>Specifies whether the output is displayed at a display station or printed. If the output is displayed, it is sent to the work station that entered the command.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*</u></b></dt>
|
||
|
<dd>The output is displayed if requested by an interactive job or printed if requested by a batch job.
|
||
|
</dd>
|
||
|
<dt><b>*PRINT</b></dt>
|
||
|
<dd>The output is printed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>
|
||
|
<b>Note: </b><b>*PRINT</b> cannot be specified if you are using a S/36 environment. If the command is run interactively, the output will be displayed but not printed. If the command is run in batch, an error message will be sent and no output will be produced.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKSPLF.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKSPLF.DSPFMT"></a>
|
||
|
<h3>Display format (DSPFMT)</h3>
|
||
|
<p>Specifies the format and terminology to be used on the displays that result from running this command.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>If the System/36 display format is used, the <b>Output (OUTPUT)</b> parameter is ignored and the data is presented at the user's display station.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*INLENV</u></b></dt>
|
||
|
<dd>The format and terminology that is used is determined by the SPCENV (special environment) value specified in your user profile. If the SPCENV value is *S36, the System/36 terminology is used. All other values result in this system's terminology being used.
|
||
|
</dd>
|
||
|
<dt><b>*S36FMT</b></dt>
|
||
|
<dd>System/36 terminology is used to display the information.
|
||
|
<p>
|
||
|
<b>Note: </b>Spooled files which exist on primary or secondary auxiliary storage pools will not be shown when using a display format of *S36FMT.
|
||
|
</p>
|
||
|
</dd>
|
||
|
<dt><b>*NORMAL</b></dt>
|
||
|
<dd>This system's terminology is used to display the information.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKSPLF.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="WRKSPLF.ASTLVL"></a>
|
||
|
<h3>Assistance level (ASTLVL)</h3>
|
||
|
<p>Specifies which user interface to use.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*PRV</u></b></dt>
|
||
|
<dd>The previous user interface used is shown.
|
||
|
</dd>
|
||
|
<dt><b>*USRPRF</b></dt>
|
||
|
<dd>The user interface specified on the <b>Assistance level (ASTLVL)</b> parameter of your user profile is used.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b>*BASIC</b></dt>
|
||
|
<dd>The Operational Assistant user interface is used.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>
|
||
|
<b>Note: </b>If any ASP number (1-32) is specified in the Select parameter and the Operational Assistant user interface is used, spooled files from the system ASP (ASP 1) and all basic user ASPs (ASPs 2-32) will be listed. Spooled files which exist on primary or secondary auxiliary storage pools will not be shown when using the Operational Assistant user interface.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*INTERMED</b></dt>
|
||
|
<dd>The system user interface is used.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKSPLF.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="WRKSPLF.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Work with All Spooled Files</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKSPLF SELECT(*ALL *ALL *ALL *ALL *ALL *ALL) DSPFMT(*NORMAL)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command displays the Work with Spooled Files panel, showing a list of all of the spooled files on the system. The terminology used is determined by the value on the SPCENV parameter in the user's profile. The information goes to the display by default.
|
||
|
</p>
|
||
|
<p><b>Example 2: Work with Selected Spooled Files</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKSPLF SELECT(CASMITH *ALL *ALL MEMO *ALL *ALL)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command allows you to work with all of the spooled files on the system for the user named CASMITH and that have 'MEMO' specified in the user data for the spooled file.
|
||
|
</p>
|
||
|
<p><b>Example 3: Work with Spooled Files by User Data </b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKSPLF SELECT(*ALL *ALL *ALL '*SAV*' *ALL *ALL)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command allows you to work with all of the spooled files on the system that have '*SAV' as the first four characters specified in the user data for the spooled file.
|
||
|
</p>
|
||
|
<p><b>Example 4: Work with Spooled Files by Date</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
WRKSPLF SELECT(*ALL)
|
||
|
PERIOD(('11:30:00' '01/12/2005') ('20:00:00' '01/12/2005'))
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command allows you to work with all of the spooled files on the system that have a create date and time between 11:30 AM and 8:00 PM on January 12, 2005.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKSPLF.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="WRKSPLF.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF1E94</b></dt>
|
||
|
<dd>User name &1 does not exist.
|
||
|
</dd>
|
||
|
<dt><b>CPF1E95</b></dt>
|
||
|
<dd>Printer &1 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF1E99</b></dt>
|
||
|
<dd>Unexpected error occurred.
|
||
|
</dd>
|
||
|
<dt><b>CPF337E</b></dt>
|
||
|
<dd>ASP device &1 not in current ASP group for thread.
|
||
|
</dd>
|
||
|
<dt><b>CPF337F</b></dt>
|
||
|
<dd>ASP device &1 not allowed with ASP number &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF33D0</b></dt>
|
||
|
<dd>Printer &1 does not exist.
|
||
|
</dd>
|
||
|
<dt><b>CPF33D1</b></dt>
|
||
|
<dd>User &1 does not exist.
|
||
|
</dd>
|
||
|
<dt><b>CPF3302</b></dt>
|
||
|
<dd>Override of print file &1 to file &2 not valid.
|
||
|
</dd>
|
||
|
<dt><b>CPF3330</b></dt>
|
||
|
<dd>Necessary resource not available.
|
||
|
</dd>
|
||
|
<dt><b>CPF33FD</b></dt>
|
||
|
<dd>ASP device &1 not allowed.
|
||
|
</dd>
|
||
|
<dt><b>CPF3420</b></dt>
|
||
|
<dd>System/36 display format not allowed in batch.
|
||
|
</dd>
|
||
|
<dt><b>CPF7D41</b></dt>
|
||
|
<dd>Error occurred while logging order assistance request.
|
||
|
</dd>
|
||
|
<dt><b>CPF7D42</b></dt>
|
||
|
<dd>Error occurred while performing database operation.
|
||
|
</dd>
|
||
|
<dt><b>CPF9825</b></dt>
|
||
|
<dd>Not authorized to device &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9833</b></dt>
|
||
|
<dd>*CURASPGRP or *ASPGRPPRI specified and thread has no ASP group.
|
||
|
</dd>
|
||
|
<dt><b>CPF9845</b></dt>
|
||
|
<dd>Error occurred while opening file &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9846</b></dt>
|
||
|
<dd>Error while processing file &1 in library &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF9871</b></dt>
|
||
|
<dd>Error occurred while processing.
|
||
|
</dd>
|
||
|
<dt><b>CPFB8ED</b></dt>
|
||
|
<dd>Device description &1 not correct for operation.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#WRKSPLF.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|