FUNPRMU parameter: Difference between revisions
m (→Summary) |
m (misc formatting) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:FUNPRMU parameter subtitle}} | |||
==Summary== | ==Summary== | ||
<dl> | <dl> | ||
Line 14: | Line 10: | ||
<dd>Any user | <dd>Any user | ||
<dt>Related products | <dt>Related products | ||
<dd>[[Fast/Unload|Fast/Unload | <dd>[[Fast/Unload|Fast/Unload SOUL Interface]] | ||
<dt>Introduced | <dt>Introduced | ||
<dd><var class="product">Sirius Mods</var> 8.1 ( | <dd><var class="product">[[Sirius Mods]]</var> 8.1 (for the most part, this parameter is ignored without the corresponding feature introduced in version 4.7 of <var class="product">[[Fast/Unload]]</var>) | ||
</dl> | </dl> | ||
==Description== | ==Description== | ||
This parameter, together with the <var>[[FUNPARM parameter|FUNPARM]]</var> system parameter, | This parameter, together with the <var>[[FUNPARM parameter|FUNPARM]]</var> system parameter, | ||
controls the auditing of messages when using the <var class="product">[[Fast/Unload | controls the auditing of messages when using the <var class="product">[[Fast/Unload SOUL Interface]]</var>. | ||
These parameters | These parameters can be used to augment the availability of auditing information, in such a way that the user or the system manager can | ||
ensure that information is available for a single job or all jobs, without changes to any | ensure that information is available for a single job or all jobs, without changes to any SOUL program invoking <var>[[FastUnload (Recordset function)|FastUnload]]</var>, <var>[[FastUnloadTask (Recordset function)|FastUnloadTask]]</var>, or <var>[[$Funload]]</var>. | ||
program invoking <var>[[FastUnload (Recordset function)|FastUnload]]</var>, <var>[[FastUnloadTask (Recordset function)|FastUnloadTask]]</var>, or <var>[[$Funload]]</var>. | Without the use of these parameters, some auditing information may be available from the <var>FUNAUDIT</var> dataset, but that information may be inadequate: | ||
Without the use of these parameters, | for example, messages from a job initiated by the <var>FastUnload</var> method will not be in <var>FUNAUDIT</var> if its <var>Report</var> parameter is used. | ||
some auditing information may be available from the < | |||
for example, messages from a <var>FastUnload</var> | |||
<var>Report</var> parameter is used. | |||
This is a bitmask parameter where the bits mean: | This is a bitmask parameter where the bits mean: | ||
< | <table class="thJustBold"> | ||
< | <tr><th>X'02'</th> | ||
< | <td>Indicates that "basic" <var class="product">Fast/Unload</var> messages for this user are always audited, regardless of the presence of a <var class="product">Fast/Unload SOUL Interface</var> "report" argument.</td></tr> | ||
<var class="product">Fast/Unload</var> | |||
messages for this user are always audited, regardless of the presence of | <tr><th>X'04'</th> | ||
a <var class="product">Fast/Unload | <td>Indicates that <b>all</b> <var class="product">Fast/Unload</var> messages for this user, except "Field statistics", are always audited, regardless of the presence of a <var class="product">Fast/Unload SOUL Interface</var> "report" argument. The X'02' bit need not be set if the X'04' bit is set.</td></tr> | ||
"report" argument. | |||
< | <tr><th>X'08'</th> | ||
< | <td>Indicates that "basic" <var class="product">Fast/Unload</var> messages for this user are always audited in the <var class="product">Model 204</var> audit trail, whether or not the <code>FUNAUDIT</code> DD name is present. If the X'04' bit is on, <b>all</b> messages are audited there as well. | ||
<p> | |||
are always audited, regardless of the presence of a | In the odd case that there is no <var class="product">Model 204</var> audit trail, the X'08' bit is ignored, but auditing is performed as if the X'02' bit were on, whether it is or not. | ||
<var class="product">Fast/Unload | </p></td></tr> | ||
"report" argument. | </table> | ||
The X'02' bit need not be set if the X'04' bit is set. | |||
< | |||
< | |||
<var class="product">Fast/Unload</var> | |||
messages for this user are always audited in the | |||
<var class="product">Model 204</var> audit trail, whether or not the <code>FUNAUDIT</code> DD name is present. | |||
If the X'04' bit is on, <b>all</b> messages are audited there as well. | |||
In the odd case that there is no <var class="product">Model 204</var> audit trail, the X'08' bit is ignored, but auditing is | |||
performed as if the X'02' bit were on, whether it is or not. | |||
</ | |||
<p class="note">'''Note:''' The X'01' bit is not used by <var>FUNPRMU</var>.</p> | |||
For both of the <var>FUNPRMU</var> X'02' and X'04' bits, the same bit has the same meaning in the <var>FUNPARM</var> system parameter; the indicated effect takes place if either of the <var>FUNPRMU</var> or <var>FUNPARM</var> bits are on. | For both of the <var>FUNPRMU</var> X'02' and X'04' bits, the same bit has the same meaning in the <var>FUNPARM</var> system parameter; the indicated effect takes place if either of the <var>FUNPRMU</var> or <var>FUNPARM</var> bits are on. | ||
That is also true for the X'08' bit, although there are some additional details for the X'08' bit which generally you don't need | That is also true for the X'08' bit, although there are some additional details for the X'08' bit which generally you don't need | ||
to concern yourself with, but are explained as part of the more detailed | to concern yourself with, but are explained as part of the more detailed | ||
discussion [[#Fast/Unload report processing| | discussion in [[#Fast/Unload report processing|Fast/Unload report processing]], below. | ||
Using the X'02', X'04', and X'08' bits of the <var>FUNPRMU</var> user parameter and the <var>FUNPARM</var> system parameter is fairly straightforward, and the above description should be adequate to use them. A complete description of the processing triggered by these bits is presented in the "Fast/Unload report processing" section, next. | |||
===Fast/Unload report processing=== | ===Fast/Unload report processing=== | ||
Every <var class="product">Fast/Unload | Every <var class="product">Fast/Unload SOUL Interface</var> job has a "report," which may contain many <var class="product">Fast/Unload</var> messages (it contains at least the | ||
<code>FUNL0004</code> message line indicating the end of the job). | <code>FUNL0004</code> message line indicating the end of the job). | ||
Each | Each SOUL invocation (of <var>FastUnload</var>, for example) can designate a DD name or <var>Stringlist</var> or <var>$list</var> destination for the report. Or the invocation can omit the destination, in which case the report is sent to the <var>FUNAUDIT</var> dataset, | ||
destination for the report | |||
if there is one, or otherwise to the <var class="product">Model 204</var> audit trail. | if there is one, or otherwise to the <var class="product">Model 204</var> audit trail. | ||
The <var>FUNPARM</var> and <var>FUNPRMU</var> parameters | The <var>FUNPARM</var> and <var>FUNPRMU</var> parameters allow the <b>auditing</b> of some of the messages from the report to be captured on <var>FUNAUDIT</var> and/or | ||
allow the <b>auditing</b> of some of the messages from the report to be captured on < | the <var class="product">Model 204</var> audit trail, regardless of the designation of the report destination in the various SOUL invocations of the <var class="product">Fast/Unload SOUL Interface</var>. | ||
the <var class="product">Model 204</var> audit trail, regardless of the designation of the report destination in the | |||
various | |||
<var class="product">Fast/Unload | |||
The effect of these parameters is based on their values at the time that | The effect of these parameters is based on their values at the time that SOUL invokes a | ||
<var class="product">Fast/Unload | <var class="product">Fast/Unload SOUL Interface</var> job; they are explained for each form of report destination in the following table: | ||
job; they are explained for each form of report destination in the following table: | |||
<table> | <table> | ||
<tr><td>If the report's destination is <code>FUNAUDIT</code></td> | <tr><td>If the report's destination is <code>FUNAUDIT</code></td> | ||
<td><ul><li>If <b>either</b> <var>FUNPARM</var> or <var>FUNPRMU</var> has the <b>X'08'</b> bit <b>off</b> and the <b>X'04'</b> bit <b>on</b>, the <var>AllMessages</var> argument is set to <code>True</code> (or for <var>$Funload</var>, the <code>ALLMSG</code> option is added) and the <code>LIST</code> option is added, so that <code>FUNAUDIT</code> contains the list of <var class="product">Fast/Unload</var> parameter settings and the FUEL program listing.<li>Otherwise, <code>FUNAUDIT</code> is not affected by these parameters, but audited information is present in the <var class="product">Model 204</var> audit trail if either parameter has the X'08' bit on.</ul></td></tr> | <td><ul> | ||
<tr><td>If the report's destination is the <var class="product">Model 204</var> audit trail</td> | <li>If <b>either</b> <var>FUNPARM</var> or <var>FUNPRMU</var> has the <b>X'08'</b> bit <b>off</b> and the <b>X'04'</b> bit <b>on</b>, the <var>AllMessages</var> argument is set to <code>True</code> (or for <var>$Funload</var>, the <code>ALLMSG</code> option is added) and the <code>LIST</code> option is added, so that <code>FUNAUDIT</code> contains the list of <var class="product">Fast/Unload</var> parameter settings and the FUEL program listing. </li> | ||
<td><ul><li>If <b>either</b> <var>FUNPARM</var> or <var>FUNPRMU</var> has the <b>X'04'</b> bit <b>on</b>, the <var>AllMessages</var> argument is set to <code>True</code> (or for <var>$Funload</var>, the <code>ALLMSG</code> option is added) and the <code>LIST</code> option is added, so | |||
<tr><td>Otherwise (the report's destination is a<var>Stringlist</var> or <var>$list</var> or a | <li>Otherwise, <code>FUNAUDIT</code> is not affected by these parameters, but audited information is present in the <var class="product">Model 204</var> audit trail if either parameter has the X'08' bit on.</li> | ||
<td><ul><li>If <b>either</b> <var>FUNPARM</var> or <var>FUNPRMU</var> has <b>any</b> of the <b>X'08'</b>, <b>X'04'</b>, or <b>X'02'</b> bits <b>on</b>, an "audit" stream is produced for the job, containing at least the job's "basic" <var class="product">Fast/Unload</var> messages. | </ul></td></tr> | ||
<li>If <b>either</b> <var>FUNPARM</var> or <var>FUNPRMU</var> has the <b>X'04'</b> bit <b>on</b>, this will also contain the list of <var class="product">Fast/Unload</var> parameter settings and the FUEL program listing. | |||
<li>If <b>both</b> <var>FUNPARM</var> and <var>FUNPRMU</var> have the <b>X'08'</b> bit <b>off</b>, the audit stream | <tr><td>If the report's destination is the <var class="product">Model 204</var> audit trail</td> | ||
<li>If <b>both</b> <var>FUNPARM</var> and <var>FUNPRMU</var> have the <b>X'08'</b> bit <b>on</b>, the audit stream | <td><ul> | ||
<li>If <b>one</b> of <var>FUNPARM</var> and <var>FUNPRMU</var> has the <b>X'08'</b> bit <b>on</b> and the <b>other</b> has it <b>off</b>, the audit stream | <li>If <b>either</b> <var>FUNPARM</var> or <var>FUNPRMU</var> has the <b>X'04'</b> bit <b>on</b>, the <var>AllMessages</var> argument is set to <code>True</code> (or for <var>$Funload</var>, the <code>ALLMSG</code> option is added) and the <code>LIST</code> option is added, so the <var class="product">Model 204</var> audit trail contains the list of <var class="product">Fast/Unload</var> parameter settings and the FUEL program listing. </li> | ||
<li>< | |||
<li>Otherwise, the <var class="product">Model 204</var> audit trail is not affected by these parameters, and they do not provide extra auditing for this invocation.</li></ul></td></tr> | |||
<tr><td>Otherwise (the report's destination is a<var>Stringlist</var> or <var>$list</var> or a data set with a DD name other than <code>FUNAUDIT</code>)</td> | |||
<td><ul> | |||
<li>If <b>either</b> <var>FUNPARM</var> or <var>FUNPRMU</var> has <b>any</b> of the <b>X'08'</b>, <b>X'04'</b>, or <b>X'02'</b> bits <b>on</b>, an "audit" stream is produced for the job, containing at least the job's "basic" <var class="product">Fast/Unload</var> messages.</li> | |||
<li>If <b>either</b> <var>FUNPARM</var> or <var>FUNPRMU</var> has the <b>X'04'</b> bit <b>on</b>, this will also contain the list of <var class="product">Fast/Unload</var> parameter settings and the FUEL program listing. </li> | |||
<li>If <b>both</b> <var>FUNPARM</var> and <var>FUNPRMU</var> have the <b>X'08'</b> bit <b>off</b>, the audit stream is sent to <code>FUNAUDIT</code> (if that DD name is present; otherwise the stream is sent to the <var class="product">Model 204</var> audit trail). </li> | |||
<li>If <b>both</b> <var>FUNPARM</var> and <var>FUNPRMU</var> have the <b>X'08'</b> bit <b>on</b>, the audit stream is sent to the <var class="product">Model 204</var> audit trail. </li> | |||
<li>If <b>one</b> of <var>FUNPARM</var> and <var>FUNPRMU</var> has the <b>X'08'</b> bit <b>on</b> and the <b>other</b> has it <b>off</b>, the audit stream is sent: | |||
<ul> | |||
<li>Only to the <var class="product">Model 204</var> audit trail, if there is no <code>FUNAUDIT</code> DD name present. </li> | |||
<li>Both to the <var class="product">Model 204</var> audit trail and to <code>FUNAUDIT</code>, if the parameter that has the X'08' bit off also has the X'04' or X'02' bit on. | |||
<li>Otherwise (the parameter that has the X'08' bit off also has both the X'04' and X'02' bits off), only to the <var class="product">Model 204</var> audit trail.</li></ul> | |||
</li></ul> | |||
</td></tr> | |||
</table> | </table> | ||
[[Category:User parameters]] | [[Category:User parameters]] | ||
[[Category:Parameters]] | [[Category:Parameters]] | ||
[[Category:Fast/Unload | [[Category:Fast/Unload SOUL Interface]] |
Latest revision as of 20:50, 16 April 2015
Fast/Unload user flags
Summary
- Default value
- X'00'
- Parameter type
- User
- Where set
- Any user
- Related products
- Fast/Unload SOUL Interface
- Introduced
- Sirius Mods 8.1 (for the most part, this parameter is ignored without the corresponding feature introduced in version 4.7 of Fast/Unload)
Description
This parameter, together with the FUNPARM system parameter, controls the auditing of messages when using the Fast/Unload SOUL Interface. These parameters can be used to augment the availability of auditing information, in such a way that the user or the system manager can ensure that information is available for a single job or all jobs, without changes to any SOUL program invoking FastUnload, FastUnloadTask, or $Funload. Without the use of these parameters, some auditing information may be available from the FUNAUDIT dataset, but that information may be inadequate: for example, messages from a job initiated by the FastUnload method will not be in FUNAUDIT if its Report parameter is used.
This is a bitmask parameter where the bits mean:
X'02' | Indicates that "basic" Fast/Unload messages for this user are always audited, regardless of the presence of a Fast/Unload SOUL Interface "report" argument. |
---|---|
X'04' | Indicates that all Fast/Unload messages for this user, except "Field statistics", are always audited, regardless of the presence of a Fast/Unload SOUL Interface "report" argument. The X'02' bit need not be set if the X'04' bit is set. |
X'08' | Indicates that "basic" Fast/Unload messages for this user are always audited in the Model 204 audit trail, whether or not the FUNAUDIT DD name is present. If the X'04' bit is on, all messages are audited there as well.
In the odd case that there is no Model 204 audit trail, the X'08' bit is ignored, but auditing is performed as if the X'02' bit were on, whether it is or not. |
Note: The X'01' bit is not used by FUNPRMU.
For both of the FUNPRMU X'02' and X'04' bits, the same bit has the same meaning in the FUNPARM system parameter; the indicated effect takes place if either of the FUNPRMU or FUNPARM bits are on. That is also true for the X'08' bit, although there are some additional details for the X'08' bit which generally you don't need to concern yourself with, but are explained as part of the more detailed discussion in Fast/Unload report processing, below.
Using the X'02', X'04', and X'08' bits of the FUNPRMU user parameter and the FUNPARM system parameter is fairly straightforward, and the above description should be adequate to use them. A complete description of the processing triggered by these bits is presented in the "Fast/Unload report processing" section, next.
Fast/Unload report processing
Every Fast/Unload SOUL Interface job has a "report," which may contain many Fast/Unload messages (it contains at least the
FUNL0004
message line indicating the end of the job).
Each SOUL invocation (of FastUnload, for example) can designate a DD name or Stringlist or $list destination for the report. Or the invocation can omit the destination, in which case the report is sent to the FUNAUDIT dataset,
if there is one, or otherwise to the Model 204 audit trail.
The FUNPARM and FUNPRMU parameters allow the auditing of some of the messages from the report to be captured on FUNAUDIT and/or the Model 204 audit trail, regardless of the designation of the report destination in the various SOUL invocations of the Fast/Unload SOUL Interface.
The effect of these parameters is based on their values at the time that SOUL invokes a Fast/Unload SOUL Interface job; they are explained for each form of report destination in the following table:
If the report's destination is FUNAUDIT |
|
If the report's destination is the Model 204 audit trail |
|
Otherwise (the report's destination is aStringlist or $list or a data set with a DD name other than FUNAUDIT ) |
|