FUNPRMU parameter: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 20: | Line 20: | ||
==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 auditing of messages | controls the auditing of messages when using the <var class="product">[[Fast/Unload User Language Interface]]</var>. | ||
These parameters are intended to augment the availability of auditing information, in such a way that the user or the system manager can | These parameters are intended 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 User Language | ensure that information is available for a single job or all jobs, without changes to any User Language | ||
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, | Without the use of these parameters, | ||
some auditing information may be available from the <code>FUNAUDIT</code> | some auditing information may be available from the <code>FUNAUDIT</code> dataset, but that information may be inadequate: | ||
for example, messages from a <var>FastUnload</var> job will not be in <code>FUNAUDIT</code> if the | for example, messages from a <var>FastUnload</var> job will not be in <code>FUNAUDIT</code> if the | ||
<var>Report</var> parameter is used. | <var>Report</var> parameter is used. | ||
Line 34: | Line 34: | ||
<dd>Indicates that "basic" | <dd>Indicates that "basic" | ||
<var class="product">Fast/Unload</var> | <var class="product">Fast/Unload</var> | ||
messages are always audited, regardless of the presence of | messages for this user are always audited, regardless of the presence of | ||
a <var class="product">Fast/Unload User Language Interface</var> | a <var class="product">Fast/Unload User Language Interface</var> | ||
report argument. | "report" argument. | ||
<dt>X'04' | <dt>X'04' | ||
<dd>Indicates that <b>all</b> <var class="product">Fast/Unload</var> messages, except "Field statistics" | <dd>Indicates that <b>all</b> <var class="product">Fast/Unload</var> messages for this user, except "Field statistics" | ||
and <var>REPORT</var> statement lines, | and <var>REPORT</var> statement lines, | ||
are always audited, regardless of the presence of a | are always audited, regardless of the presence of a | ||
<var class="product">Fast/Unload User Language Interface</var> | <var class="product">Fast/Unload User Language Interface</var> | ||
report argument. | "report" argument. | ||
The X'02' bit need not be set if the X'04' bit is set. | The X'02' bit need not be set if the X'04' bit is set. | ||
<dt>X'08' | <dt>X'08' | ||
<dd>Indicates that "basic" | <dd>Indicates that "basic" | ||
<var class="product">Fast/Unload</var> | <var class="product">Fast/Unload</var> | ||
messages are always audited in the | 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. | <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. | If the X'04' bit is on, <b>all</b> messages are audited there as well. | ||
Line 56: | Line 56: | ||
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 is 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 is 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 [[#Fast/Unload report processing|below]]. | |||
<table> | |||
<var> | <tr><td>The <var>FUNPRMU</var> parameter and the corresponding bits in the <var>FUNPARM</var> parameter is fairly straightforward and the above description should be adequate to use them. | ||
<br/> | |||
< | Further information is presented [[#Fast/Unload report processing|below]] for a complete description of the processing triggered by these parameters.</td></tr></table> | ||
</ | |||
===Fast/Unload report processing=== | ===Fast/Unload report processing=== | ||
Every <var class="product">Fast/Unload User Language Interface</var> job has a "report", which may contain many <var class="product">Fast/Unload</var> messages (it contains at least the | Every <var class="product">Fast/Unload User Language 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 User Language invocation (of <var>FastUnload</var>, for example) can designate a DD name or <var>Stringlist</var> or <var>$list</var> | Each User Language 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 it can omit the destination, in which case the report is sent to the <code>FUNAUDIT</code> | destination for the report, or it can omit the destination, in which case the report is sent to the <code>FUNAUDIT</code> dataset, | ||
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. | ||
Line 88: | Line 87: | ||
<tr><td>If the report's destination is the <var class="product">Model 204</var> audit trail</td> | <tr><td>If the report's destination is the <var class="product">Model 204</var> audit trail</td> | ||
<td><ul><li>If <b>either</b> <var>FUNPARM</var> or <var>FUNPRMU</var> has the <b>X'04'</b> bit <b>on</b>, it is ensured that the <var class="product">Model 204</var> audit trail will contain the list of <var class="product">Fast/Unload</var> parameter settings and of the FUEL program.<li>Otherwise, the <var class="product">Model 204</var> audit trail is not affected by these parameters.</ul></td></tr> | <td><ul><li>If <b>either</b> <var>FUNPARM</var> or <var>FUNPRMU</var> has the <b>X'04'</b> bit <b>on</b>, it is ensured that the <var class="product">Model 204</var> audit trail will contain the list of <var class="product">Fast/Unload</var> parameter settings and of the FUEL program.<li>Otherwise, the <var class="product">Model 204</var> audit trail is not affected by these parameters.</ul></td></tr> | ||
<tr><td>Otherwise (the report's destination is a | <tr><td>Otherwise (the report's destination is a<var>Stringlist</var> or <var>$list</var> or a dataset - 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. | <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>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 of the FUEL program. | <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 of the FUEL program. |
Revision as of 20:54, 13 July 2012
This page is under construction and the feature being proposed is tentative - not even yet ready for βeta testing.
User-level Fast/Unload flags
Summary
- Default value
- X'00'
- Parameter type
- User
- Where set
- Any user
- Related products
- Fast/Unload User Language Interface
- Introduced
- Sirius Mods 8.1
Description
This parameter, together with the FUNPARM system parameter,
controls the auditing of messages when using the Fast/Unload User Language Interface.
These parameters are intended 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 User Language
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 FastUnload job will not be in FUNAUDIT
if the
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 User Language Interface "report" argument.
- X'04'
- Indicates that all Fast/Unload messages for this user, except "Field statistics" and REPORT statement lines, are always audited, regardless of the presence of a Fast/Unload User Language 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.
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 is 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 below.
The FUNPRMU parameter and the corresponding bits in the FUNPARM parameter is fairly straightforward and the above description should be adequate to use them.
|
Fast/Unload report processing
Every Fast/Unload User Language 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 User Language invocation (of FastUnload, for example) can designate a DD name or Stringlist or $list
destination for the report, or it 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 User Language invocations of the
Fast/Unload User Language Interface.
The effect of these parameters is based on their values at the time that User Language invokes a Fast/Unload User Language Interface job, and is shown 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 dataset - with a DD name other than FUNAUDIT ) |
|
Note that the X'01' bit is not used by FUNPRMU.