Fast/Unload program parameters: Difference between revisions
m (add link) |
|||
(16 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
Some basic parameters are provided to control the operation of | Some basic parameters are provided to control the operation of | ||
<var class="product">Fast/Unload</var>. | <var class="product">Fast/Unload</var>. | ||
These parameters must be provided either | These parameters must be provided in either of these ways: | ||
card in z/OS | <ul> | ||
<li>As a <code>PARM</code> on the EXEC card in z/OS. For example: | |||
<p class="code"><nowiki>//FUNLOAD EXEC PGM=FUNLOAD,REGION=4096K, | <p class="code"><nowiki>//FUNLOAD EXEC PGM=FUNLOAD,REGION=4096K, | ||
// PARM='NEBUFF=8 SEBUFF=1 SBBUFF=3 SEQ' | // PARM='NEBUFF=8 SEBUFF=1 SBBUFF=3 SEQ' | ||
</nowiki></p> | </nowiki></p></li> | ||
<li>As options on the <var>M204CMS</var> command in CMS. For example: | |||
<p class="code"><nowiki>'M204CMS FUNLOAD ( NEBUFF 8 SEBUFF 1 SBBUFF 3 SEQ %' | <p class="code"><nowiki>'M204CMS FUNLOAD ( NEBUFF 8 SEBUFF 1 SBBUFF 3 SEQ %' | ||
</nowiki></p> | </nowiki></p></li> | ||
</ul> | |||
Under z/OS, parameters are specified either by a parameter name alone or | Under z/OS, parameters are specified either by a parameter name alone or | ||
Line 54: | Line 57: | ||
Interface is not ordinarily echoed on the report. | Interface is not ordinarily echoed on the report. | ||
That is to say, | That is to say, | ||
when invoked via the <var class="product">Fast/Unload SOUL Interface</var>, the <var>NOLIST<var> | when invoked via the <var class="product">Fast/Unload SOUL Interface</var>, the <var>NOLIST</var> | ||
parameter is the default unless <var>ALLMSG</var> is specified. | parameter is the default unless <var>ALLMSG</var> is specified. | ||
If you want to see the input program, specify either the <var>LIST</var> or the <var>ALLMSG</var> parameter. | If you want to see the input program, specify either the <var>LIST</var> or the <var>ALLMSG</var> parameter. | ||
Line 79: | Line 82: | ||
<var>IBM</var>, <var>FUJITSU</var>, <var>HITACHI</var>, or <var>NONE</var>. | <var>IBM</var>, <var>FUJITSU</var>, <var>HITACHI</var>, or <var>NONE</var>. | ||
The default value is <var>NONE</var>. See [[Fast/Unload customization of defaults]] if you want to set a <var>DBCS</var> default other than <var>NONE</var>. | The default value is <var>NONE</var>. See [[Fast/Unload customization of defaults]] if you want to set a <var>DBCS</var> default other than <var>NONE</var>. | ||
==ERRCAN== | |||
This parameter makes <var>CANCEL REPORT</var> the default for the <var>[[Fast/Unload Extraction Language (FUEL)#MISSING and ERROR clauses|ERROR]]</var> clause of the <var>PUT</var> statement, just for the current <var class="product">Fast/Unload</var> job. Otherwise, the default for all <var class="product">Fast/Unload</var> jobs is provided by the [[Fast/Unload customization of defaults#Default for ERROR clause on PUT statement|customization zap for the PUT ERROR clause]]. | |||
<p> | |||
<var>ERRCAN</var> is available as of version 4.6 of <var class="product">Fast/Unload</var>. | |||
</p> | |||
<p> | |||
See also <var>[[#NOERRCAN|NOERRCAN]]</var>. | |||
</p> | |||
==Every=n== | ==Every=n== | ||
Line 94: | Line 106: | ||
The default for <var>EVERY</var> is 0, which means that all records are processed. | The default for <var>EVERY</var> is 0, which means that all records are processed. | ||
< | ==<b id="fnvmask"></b>FNvmask=X"yz"== | ||
<var>FNVMASK</var> specifies which of the eight characters of the name of the file being unloaded | <var>FNVMASK</var> specifies which of the eight characters of the name of the file being unloaded | ||
may differ from the file name stored on the disk pages of the <var class="product">Model 204</var> file. | may differ from the file name stored on the disk pages of the <var class="product">Model 204</var> file. | ||
Line 158: | Line 168: | ||
indicated starting record number. </p> | indicated starting record number. </p> | ||
The <var>FRECORD</var> parameter applies only to the first file, if a group unload | The <var>FRECORD</var> parameter applies only to the first file, if a group unload is being performed. | ||
is being performed. | |||
==<b id="fstp"></b>FStats[=AVGTOT|MINMAX]== | |||
< | |||
This parameter gathers field, Table, and procedure statistics, | This parameter gathers field, Table, and procedure statistics, | ||
and it checks file integrity during the run. | and it checks file integrity during the run. | ||
Line 182: | Line 189: | ||
(see [[Fast/Unload customization of defaults#cusfst|Setting default FSTATS processing]]). | (see [[Fast/Unload customization of defaults#cusfst|Setting default FSTATS processing]]). | ||
<var>FSTATS<var> is not valid if the Field Statistics | <var>FSTATS</var> is not valid if the Field Statistics option is not linked with your Fast Unload load module. | ||
< | ==<b id="foutprm"></b>FUnout== | ||
This parameter directs <var class="product">Fast/Unload</var> to perform the I/O to the | This parameter directs <var class="product">Fast/Unload</var> to perform the I/O to the | ||
output sequential data set(s), even if going through a sort due to | output sequential data set(s), even if going through a sort due to | ||
Line 216: | Line 221: | ||
that <var>FUNOUT</var> is in effect. <var>SORTOUT</var> and <var>SORTOUTD</var> will indicate <var>OFF</var>. | that <var>FUNOUT</var> is in effect. <var>SORTOUT</var> and <var>SORTOUTD</var> will indicate <var>OFF</var>. | ||
==Harderr= {ABEND|CANCEL|SKIP|SKIP0|IGNORE|IGNORE0}== | ==<b id="harderr"></b>Harderr= {ABEND|CANCEL|SKIP|SKIP0|IGNORE|IGNORE0}== | ||
<var>HARDERR</var> sets the action to be performed when a hard error is encountered. | <var>HARDERR</var> sets the action to be performed when a hard error is encountered. | ||
A hard error is a missing record or extension record | A hard error is a missing record or extension record | ||
Line 246: | Line 251: | ||
<tr><th>SKIP</th> | <tr><th>SKIP</th> | ||
<td>Do not unload any more from the | <td>Do not unload any more from the current record for a <var>UAI</var> or <var>PAI</var>, or skip the rest of the record for other forms of unload. | ||
current record for a <var>UAI</var> or <var>PAI</var>, | |||
or skip the rest of the record for other forms of unload. | |||
The minimum job step completion code is 4. | The minimum job step completion code is 4. | ||
In order to perform the | In order to perform the <var>UAI</var> and <var>PAI</var> operations as quickly as possible, some of the record may have been unloaded when a hard error is detected.</td></tr> | ||
<var>UAI</var> and <var>PAI</var> operations as quickly as possible, some of | |||
the record may have been unloaded when a hard error is detected.</td></tr> | |||
<tr><th>SKIP0</th> | <tr><th>SKIP0</th> | ||
Line 286: | Line 287: | ||
When invoked via the <var class="product">Fast/Unload SOUL Interface</var>, | When invoked via the <var class="product">Fast/Unload SOUL Interface</var>, | ||
this parameter is ignored and the <var class="product">Model 204</var> <var>EXCPVR</var> parameter | this parameter is ignored and the <var class="product">Model 204</var> <var>EXCPVR</var> parameter | ||
is used. <var>IOAPP< | is used. <var>IOAPP</var> is ignored for Hitachi and IBM systems. | ||
< | ==<b id="libuff"></b>LIBuff=n== | ||
This specifies the size of the work area used to hold a normalized | This specifies the size of the work area used to hold a normalized | ||
FUEL statement ("normalized" means reducing to a single blank | FUEL statement ("normalized" means reducing to a single blank | ||
Line 335: | Line 334: | ||
The default for this parameter is 0, which means that all records to the end of | The default for this parameter is 0, which means that all records to the end of | ||
the data file are unloaded. | the data file are unloaded. | ||
==MISSZ or MISSN1== | |||
These parameters operate on the default <var>[[Fast/Unload Extraction Language (FUEL)#MISSING and ERROR clauses|MISSING]]</var> value for <var>PUT</var> statements with non-<var>STRING</var> formats. | |||
<var>MISSZ</var> makes 0 the default <var>MISSING</var> value just for the current <var class="product">Fast/Unload</var> job. Making 0 the default <var>MISSING</var> value for all <var class="product">Fast/Unload</var> jobs is provided by the [[Fast/Unload customization of defaults#Default for MISSING clause on PUT statement|customization zap for the MISSING default]]. | |||
<var>MISSN1</var> restores the normal <var>MISSING</var> value default, overriding the customization zap for the default <var>MISSING</var> value, if it has been applied. | |||
==Nbbuff=n== | ==Nbbuff=n== | ||
Line 371: | Line 377: | ||
you have a large amount of real memory on your CPU. | you have a large amount of real memory on your CPU. | ||
The default value for <var>NEBUFF</var> is | The default value for <var>NEBUFF</var> is 40 when invoked as a standalone load module. When <var>NEBUFF</var> is invoked through the <var class="product">Fast/Unload SOUL Interface</var>, its default value is 40 (as of version 7.6) or 2 (in version 7.5 or earlier). | ||
<p class="note"><b>Note:</b> Extreme cases of extension record scattering will create | <p class="note"><b>Note:</b> Extreme cases of extension record scattering will create | ||
Line 412: | Line 413: | ||
The maximum value for <var>NOBUFF</var> is 99. | The maximum value for <var>NOBUFF</var> is 99. | ||
< | ==<b id="noenq"></b>NOEnq== | ||
This parameter indicates that <var class="product">Fast/Unload</var> does not attempt to use standard <var class="product">Model 204</var> enqueuing on the input data file. | This parameter indicates that <var class="product">Fast/Unload</var> does not attempt to use standard <var class="product">Model 204</var> enqueuing on the input data file. | ||
By default, <var class="product">Fast/Unload</var> attempts to obtain | By default, <var class="product">Fast/Unload</var> attempts to obtain | ||
Line 429: | Line 428: | ||
This parameter has no meaning when <var class="product">Fast/Unload</var> is invoked via the <var class="product">Fast/Unload SOUL Interface</var>. | This parameter has no meaning when <var class="product">Fast/Unload</var> is invoked via the <var class="product">Fast/Unload SOUL Interface</var>. | ||
==NOERRCAN== | |||
<var>NOERRCAN</var> restores the normal <var>PUT</var> statement <var>[[Fast/Unload Extraction Language (FUEL)#MISSING and ERROR clauses|ERROR]]</var> clause default, overriding the [[Fast/Unload customization of defaults#Default for ERROR clause on PUT statement|customization zap for the PUT ERROR clause]], if this zap has been applied. | |||
<p> | |||
<var>NOERRCAN</var> is available as of version 4.6 of <var class="product">Fast/Unload</var>. | |||
</p> | |||
<p> | |||
See also <var>[[#ERRCAN|ERRCAN]]</var>. | |||
</p> | |||
==NOList== | ==NOList== | ||
Line 453: | Line 461: | ||
via the <var class="product">Fast/Unload SOUL Interface</var>. | via the <var class="product">Fast/Unload SOUL Interface</var>. | ||
==Orecerr={CANCEL|SKIP|IGNORE}== | ==<b id="orecerr"></b>Orecerr={CANCEL|SKIP|IGNORE}== | ||
This parameter sets the action to be performed when an output record error is | This parameter sets the action to be performed when an output record error is | ||
encountered. | encountered. | ||
Line 463: | Line 471: | ||
<li><var>CANCEL</var> — Stop the <var class="product">Fast/Unload</var>. </li> | <li><var>CANCEL</var> — Stop the <var class="product">Fast/Unload</var>. </li> | ||
<li><var>SKIP</var> — Skip the current record. </li> | <li><var>SKIP</var> — Skip the current record. </li> | ||
<li><var>IGNORE</var> — Ignore the error and simply truncate the record. </li> | <li><var>IGNORE</var> — Ignore the error and simply truncate the value in the output record. </li> | ||
</ul> | </ul> | ||
The default value for this parameter is <var>CANCEL</var>. | The default value for this parameter is <var>CANCEL</var>. | ||
For any value of <var>ORECERR</var>, output record errors are reported. | For any value of <var>ORECERR</var>, output record errors are reported. | ||
===Error message FUNL0093 and ORECERR=== | |||
Usually, if you encounter the message which indicates an output error (<code>FUNL0093</code>), the corrective action will be to increase the <code>LRECL</code> of the output file. If, for some reason that is not the correct action, you may find that you can use <var>ORECERR=SKIP</var> or <var>ORECERR=IGNORE</var>, but this means that data might be lost in the output file. | |||
If you can identify <b>certain</b> <var>PUT</var> statements which, depending on data values, can cause the output error, you might be able to check for the truncation before the <var>PUT</var> (using, for example, the <var>#OUTPOS</var> or <var>#OUTLEN</var> [[FUEL#spvars|special variables]]). However, this might mean that the design and usage of your output file needs to be changed. | |||
==Sbbuff=n== | ==Sbbuff=n== | ||
Line 556: | Line 569: | ||
The default for <var>SKIPREC</var> is 0, which means that no records are skipped. | The default for <var>SKIPREC</var> is 0, which means that no records are skipped. | ||
< | ==<b id="soutprm"></b>SORTOut | SORTOUTD== | ||
In contrast to the <var>[[#FUnout|FUNOUT]]</var> parameter, both these parameters tell the | In contrast to the <var>[[#FUnout|FUNOUT]]</var> parameter, both these parameters tell the | ||
external sort package to write the sorted records directly to the output | external sort package to write the sorted records directly to the output | ||
Line 624: | Line 635: | ||
==See also== | ==See also== | ||
{{Template:Fast/Unload topic list}} |
Latest revision as of 15:49, 8 March 2018
Some basic parameters are provided to control the operation of Fast/Unload. These parameters must be provided in either of these ways:
- As a
PARM
on the EXEC card in z/OS. For example://FUNLOAD EXEC PGM=FUNLOAD,REGION=4096K, // PARM='NEBUFF=8 SEBUFF=1 SBBUFF=3 SEQ'
- As options on the M204CMS command in CMS. For example:
'M204CMS FUNLOAD ( NEBUFF 8 SEBUFF 1 SBBUFF 3 SEQ %'
Under z/OS, parameters are specified either by a parameter name alone or a parameter name followed by an equal sign (=) followed by the parameter value. Under CMS, parameters are specified either by a parameter name followed by a space and a percent sign (%) or a parameter name followed by a space and a parameter value. In general, one does not have to specify the entire parameter name for Fast/Unload to recognize it. A given parameter can only be set once.
This wiki page describes the parameter settings that are available for Fast/Unload. Note that the minimum required part of the parameter name is specified in uppercase while the rest of the parameter is specified in lowercase.
ABenderr=rc
This parameter specifies the minimum Fast/Unload return code that triggers
an ABEND at the end of the run.
To prevent the FUNOUT
dataset from being cataloged when a severe error is encountered, your JCL might include, for example:
// EXEC PGM=FUNLOAD,PARM=(ABENDERR=8) //FUNOUT DD DISP=(NEW,CATLG,DELETE),...
The default value of this parameter is zero, which means that Fast/Unload will not trigger an ABEND due to the return code.
You can customize the default (see Setting default ABENDERR), but note that the default using the SOUL Interface is always 0.
This parameter is new in Fast/Unload version 4.0.
ALlmsg
This parameter only has meaning when Fast/Unload is invoked via the User Language Interface. This parameter indicates that you want to see all messages that would ordinarily go to the report data set when Fast/Unload is invoked as a standalone program. When invoked via the Fast/Unload SOUL Interface, Fast/Unload attempts to minimize message traffic by suppressing certain informational messages. If you want to see all Fast/Unload report data, specify the ALLMSG option.
For example, the Fast/Unload input program when invoked using the SOUL Interface is not ordinarily echoed on the report. That is to say, when invoked via the Fast/Unload SOUL Interface, the NOLIST parameter is the default unless ALLMSG is specified. If you want to see the input program, specify either the LIST or the ALLMSG parameter.
Asynch
This parameter only has meaning when Fast/Unload is invoked via the Fast/Unload SOUL Interface. This indicates that you want $Funload to return as soon as an unload request has been accepted, rather than upon completion of the unload. When using the ASYNCH parameter, you cannot unload a found set that is locked in exclusive mode (with a Find And Reserve), and you cannot have any data returned to a list.
The ASYNCH parameter is assumed when data is being unloaded to the $FunImg and $FunsStr functions.
Dbcs={IBM|FUJITSU|HITACHI|NONE}
This parameter indicates that your database file has fields that contain DBCS data. DBCS must be followed by the type of DBCS environment under which your database file was created.
Any of the following types are valid: IBM, FUJITSU, HITACHI, or NONE. The default value is NONE. See Fast/Unload customization of defaults if you want to set a DBCS default other than NONE.
ERRCAN
This parameter makes CANCEL REPORT the default for the ERROR clause of the PUT statement, just for the current Fast/Unload job. Otherwise, the default for all Fast/Unload jobs is provided by the customization zap for the PUT ERROR clause.
ERRCAN is available as of version 4.6 of Fast/Unload.
See also NOERRCAN.
Every=n
This indicates that you want Fast/Unload to unload every Nth record in the database. This option is useful for sampling records in a database. For example, to process every other input record, set EVERY to 2.
EVERY processing counts existing records, not Model 204 record numbers.
You can use SKIPREC to set the starting record for EVERY. For example, you can unload every tenth record starting with the 100th record by setting SKIPREC to 99 and setting EVERY to 10. Fast/Unload would process the 100th record, the 110th record, etc. The default for EVERY is 0, which means that all records are processed.
FNvmask=X"yz"
FNVMASK specifies which of the eight characters of the name of the file being unloaded may differ from the file name stored on the disk pages of the Model 204 file. It must be specified as five characters of the form:
X"yz"
Where yz are two hexadecimal digits representing an 8-bit mask. Each 1-bit in the mask corresponds to a character position in the file name which may be different than the file name stored on the disk pages of the Model 204 file.
In the following example, the file BFILE
has the name AFILE
on
its disk pages, so the first character (X'80') must be masked as
different:
//CREATE EXEC PGM=BATCH204 //AFILE1 DD DISP=SHR,DSN=DATA.AFILE1 //AFILE2 DD DISP=SHR,DSN=DATA.AFILE2 //CCAIN DD * ... CREATE AFILE FROM AFILE1, AFILE2 ... //COPY1 EXEC PGM=IEBCOPY //SYSUT1 DD DISP=SHR,DSN=DATA.AFILE1 //SYSUT2 DD DISP=SHR,DSN=DATA.BFILE1 //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //COPY2 EXEC PGM=IEBCOPY //SYSUT1 DD DISP=SHR,DSN=DATA.AFILE2 //SYSUT2 DD DISP=SHR,DSN=DATA.BFILE2 //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //UNLOAD EXEC PGM=FUNLOAD,PARM='FNVMASK=X"80"' //BFILE1 DD DISP=SHR,DSN=DATA.BFILE1 //BFILE2 DD DISP=SHR,DSN=DATA.BFILE2 //FUNIN DD * OPEN BFILE ...
If Fast/Unload is invoked via the Fast/Unload SOUL Interface, the value of the FNVMASK parameter in Model 204 is automatically communicated, and this is the default value of FNVMASK for the unload. It may also be passed in the fifth argument of $Funload or in the Parameters parameter to the FastUnload or FastUnloadTask method. If so passed, however, its value must be the same as the Model 204 FNVMASK parameter.
If the Fast/Unload SOUL Interface is used to unload a file with FNVMASK set to a non-zero value, you must use version 7.5 or later of Model 204.
This parameter is new in Fast/Unload version 4.1.
Frecord=n
This parameter sets the Model 204 record number at which unloading is to begin. FRECORD must be followed by a positive decimal integer that indicates the desired starting record number. This can be useful when debugging a FUEL program or when doing tuning runs for Fast/Unload and one believes that the records at the start of the data file are not representative of the rest of the data file.
The default value for FRECORD is 0, which means that Fast/Unload starts unloading at record 0 of the input file.
Note: If the indicated record number does not exist, unloading begins at the first existing record after the indicated starting record number.
The FRECORD parameter applies only to the first file, if a group unload is being performed.
FStats[=AVGTOT|MINMAX]
This parameter gathers field, Table, and procedure statistics, and it checks file integrity during the run.
If FSTATS is specified, the Fast/Unload report will contain a list of all defined fields in the database file, with field definition information and statistics about occurrences of the fields. FSTATS processing also performs various integrity checks and provides statistics about Table B and the file's procedures.
Instead of the FSTATS parameter, you can also use the FSTATS directive, which overrides any specification of the FSTATS parameter.
This directive can also control the quantity of statistics reported for each field by using the AVGTOT or the MINMAX option (although PARM='FSTATS=AVGTOT'
or PARM='FSTATS=MINMAX'
provides the same processing as
the corresponding FSTATS directives). See FSTATS [AVGTOT | MINMAX\ for a description of the FSTATS directive and for an
explanation of the statistics displayed on the Fast/Unload report listing.
The default processing for FSTATS with neither AVGTOT nor MINMAX is MINMAX, although this default can be changed with a customization zap (see Setting default FSTATS processing).
FSTATS is not valid if the Field Statistics option is not linked with your Fast Unload load module.
FUnout
This parameter directs Fast/Unload to perform the I/O to the output sequential data set(s), even if going through a sort due to SORT statement(s) and/or UAI statement(s) with the SORT option.
In most cases, when sorting data on one or more output streams, the sort package is responsible for performing output to that output stream's sequential data set. The FUNOUT parameter forces sorted output to be passed back to Fast/Unload via an E35 exit which then performs the I/O.
You might want to use the FUNOUT option because:
- You want to have sorted data go to an OS-format minidisk under CMS.
- You want to use Fast/Unload's defaults for output data set format, rather than your sort package's defaults.
- Your sort package sometimes truncates output records.
Note: Using the FUNOUT option will probably increase CPU overhead and perhaps the I/O overhead.
You can customize Fast/Unload so that FUNOUT is the default; see Changing the default sort parameter.
The FUNOUT option is mutually exclusive with the SORTOUT and SORTOUTD options (see SORTOut | SORTOUTD).
A FUNOUT=ON
line in the Fast/Unload report data set indicates
that FUNOUT is in effect. SORTOUT and SORTOUTD will indicate OFF.
Harderr= {ABEND|CANCEL|SKIP|SKIP0|IGNORE|IGNORE0}
HARDERR sets the action to be performed when a hard error is encountered. A hard error is a missing record or extension record or an unknown field in the Model 204 data file. These can result from one of the following:
- Running against a data file or record set that is not protected from change with a record set lock when using the Fast/Unload SOUL Interface.
- A database file enqueue when running Fast/Unload as a standalone load module.
- Running Fast/Unload against a broken file (other broken file errors, for example, inconsistencies in Table D, always cause Fast/Unload to end with a diagnostic dump).
The valid values of HARDERR are:
Value | Meaning |
---|---|
ABEND | Stop the Fast/Unload with a job step ABEND. |
CANCEL | Stop the Fast/Unload with a minimum job step completion code of 4. |
SKIP | Do not unload any more from the current record for a UAI or PAI, or skip the rest of the record for other forms of unload.
The minimum job step completion code is 4. In order to perform the UAI and PAI operations as quickly as possible, some of the record may have been unloaded when a hard error is detected. |
SKIP0 | Skip (as for SKIP, above), but do not change the minimum job step completion code. |
IGNORE | Ignore the error.
This option is identical to SKIP
except in the case of a missing extension record.
In this case, |
IGNORE0 | Ignore (as IGNORE, above), but do not change the minimum job step completion code. |
The default value for the HARDERR parameter is CANCEL. In all cases, hard errors are always reported.
Ioapp=pp
For Fujitsu/AE systems, this parameter sets the two-character name of the Model 204 DCB appendage. Fast/Unload uses the Model 204 DCB appendage when running under Fujitsu/AE systems to specify storage areas to be page fixed for EXCP I/O. The value of this parameter should be the same as the Model 204 EXCPVR parameter.
IOAPP should be specified for batch mode operation only.
When invoked via the Fast/Unload SOUL Interface, this parameter is ignored and the Model 204 EXCPVR parameter is used. IOAPP is ignored for Hitachi and IBM systems.
LIBuff=n
This specifies the size of the work area used to hold a normalized FUEL statement ("normalized" means reducing to a single blank all multiple blanks separating statement tokens, and putting together physical line continuations).
LIBUFF must be followed by a positive decimal integer that indicates the desired size. It is specified in bytes; the default is 7000, which should be more than enough for almost all FUEL programs. If you receive a FUNL error message indicating the line is too long, you can increase this parameter.
This parameter is new in Fast/Unload version 4.1.
List
This parameter indicates that the Fast/Unload input program lines should be printed on the Fast/Unload report data set. LIST is the default for Fast/Unload, unless it has been customized (see Setting NOLIST as default). The inverse of this parameter is NOLIST.
When Fast/Unload is invoked via the Fast/Unload SOUL Interface, if the ALLMSG parameter is not specified, the NOLIST parameter is the default.
The program listing contains the hexadecimal program offset corresponding to the input line, the nesting level (when it changes) with an indication of an increase (+) or decrease (-) in the level or that a block is introduced which has the same nesting level (=), the statement number, and the program source statement.
This parameter is new in Fast/Unload version 4.0.
Maxrec=n
This sets the maximum number of input records that will be processed. MAXREC must be followed by a positive decimal integer that indicates the desired maximum.
MAXREC can be useful when debugging a FUEL program or when doing tuning runs for Fast/Unload. When the maximum number of records has been processed the Fast/Unload terminates as it ordinarily would when all records have be processed. The default for this parameter is 0, which means that all records to the end of the data file are unloaded.
MISSZ or MISSN1
These parameters operate on the default MISSING value for PUT statements with non-STRING formats.
MISSZ makes 0 the default MISSING value just for the current Fast/Unload job. Making 0 the default MISSING value for all Fast/Unload jobs is provided by the customization zap for the MISSING default.
MISSN1 restores the normal MISSING value default, overriding the customization zap for the default MISSING value, if it has been applied.
Nbbuff=n
This parameter specifies the number of base record buffers. NBBUFF must be followed by a decimal integer, which specifies the number of base record buffers. The size of these buffers is determined by the track size of the input device and the value specified for SBBUFF.
Specifying a value of 1 for NBBUFF prevents any read ahead of base record buffers. Specifying a value greater than 2 would not be likely to provide much of a performance gain and could introduce significant delays in retrieving extension records. In fact, if extension records are expected to be numerous and physically distant from the base records, a single base record buffer might provide better performance than multiple base record buffers.
The default value for NBBUFF is 2, meaning that Fast/Unload will always have a current base record buffer and will read ahead into the other buffer.
NEbuff=n
This parameter specifies the number of extension record buffers. NEBUFF must be followed by a decimal integer that specifies the number of extension record buffers. The size of these buffers is determined by the track size of the input device and the value specified for SEBUFF.
Specifying a value greater than 1 for NEBUFF allows the extension records buffers to act as a first-in/first-out buffer pool. If you expect many physically scattered extension records, or if the Fast/Unload "Wait for extension buffer" statistic has a high value, you may want to use a high value for NEBUFF. This would be especially desirable if you have a large amount of real memory on your CPU.
The default value for NEBUFF is 40 when invoked as a standalone load module. When NEBUFF is invoked through the Fast/Unload SOUL Interface, its default value is 40 (as of version 7.6) or 2 (in version 7.5 or earlier).
Note: Extreme cases of extension record scattering will create uncorrectable performance problems for Fast/Unload as well as for Model 204.
NObuff=n
This parameter specifies the number of output record buffers. NOBUFF must be followed by a decimal integer that specifies the number of output record buffers. The size of these buffers is determined by the DD or FILEDEF statements for the output data set(s). If no block size is specified in the data definitions for the output data set(s), Fast/Unload uses the largest possible block size given other data set characteristics. If output is going directly to a sort package, the size of the output buffers is always either the largest possible block size less than or equal to 4096, or the record length if output records can be more than 4096 bytes long.
If the Fast/Unload "Wait for output buffer" statistic has a high value, you might want to use a high value for NOBUFF. This would be especially desirable if you have a large amount of real memory on your CPU.
The default value for NOBUFF is 2, meaning that Fast/Unload will be able to write one buffer while it is filling the other, thus providing overlap of output I/O with CPU processing. If running under z/OS and using a relatively small output block size, specifying a larger value for NOBUFF enables Fast/Unload to take advantage of z/OS chained scheduling of I/O, which would probably provide a significant speed increase.
The maximum value for NOBUFF is 99.
NOEnq
This parameter indicates that Fast/Unload does not attempt to use standard Model 204 enqueuing on the input data file. By default, Fast/Unload attempts to obtain a share lock on the input data file, and it will terminate if it is unable to obtain the share lock.
The NOENQ parameter may be useful if you want to run against a Model 204 data file that has been opened by an ONLINE in exclusive mode but which you know is not being updated, if you want to run against a Model 204 data file that is update protected by a security package, or if absolute data consistency is not critical (for creating certain reports, say, as opposed to reorganizing a file).
This parameter has no meaning when Fast/Unload is invoked via the Fast/Unload SOUL Interface.
NOERRCAN
NOERRCAN restores the normal PUT statement ERROR clause default, overriding the customization zap for the PUT ERROR clause, if this zap has been applied.
NOERRCAN is available as of version 4.6 of Fast/Unload.
See also ERRCAN.
NOList
This parameter indicates that the Fast/Unload input program lines should not be printed on the Fast/Unload report data set. The inverse of this parameter is LIST.
When Fast/Unload is invoked via the Fast/Unload SOUL Interface, if the ALLMSG parameter is not specified, the NOLIST parameter is the default.
NOLIST can be customized as the default for your installation; see Setting NOLIST as default.
A LIST=OFF
line in the Fast/Unload report data set indicates
that NOLIST is in effect.
This parameter is new in Fast/Unload version 4.0.
NOTify
This parameter indicates that you want to be notified with a warning when the unload is complete. The NOTIFY parameter has meaning only if Fast/Unload is invoked via the Fast/Unload SOUL Interface.
Orecerr={CANCEL|SKIP|IGNORE}
This parameter sets the action to be performed when an output record error is encountered. This currently refers only to an output record exceeding the output record size.
The valid values of ORECERR are:
- CANCEL — Stop the Fast/Unload.
- SKIP — Skip the current record.
- IGNORE — Ignore the error and simply truncate the value in the output record.
The default value for this parameter is CANCEL. For any value of ORECERR, output record errors are reported.
Error message FUNL0093 and ORECERR
Usually, if you encounter the message which indicates an output error (FUNL0093
), the corrective action will be to increase the LRECL
of the output file. If, for some reason that is not the correct action, you may find that you can use ORECERR=SKIP or ORECERR=IGNORE, but this means that data might be lost in the output file.
If you can identify certain PUT statements which, depending on data values, can cause the output error, you might be able to check for the truncation before the PUT (using, for example, the #OUTPOS or #OUTLEN special variables). However, this might mean that the design and usage of your output file needs to be changed.
Sbbuff=n
This parameter specifies the size of base record buffers in tracks. SBBUFF must be followed by a decimal integer. This integer specifies the size of base record buffers in tracks.
Base record buffers are used to read in the non-extension record parts of Model 204 data files. Extension records that happen to be contained in a current base record buffer will also be read from the base record buffer.
The SBBUFF value must be an even divisor of the number of tracks per cylinder on the input device. For example, if the input device is a 3380, this value could be either 1, 3, 5 or 15.
If the input data set allocation is not in cylinder units and the input
device does not support DEFINE EXTENT
, the only
valid value for this parameter is 1.
(Prior to version 4.0 of Fast/Unload, SBBUFF greater than 1 requires data set
allocation in cylinder units, regardless of the support for DEFINE EXTENT
.)
Most modern DASDs support DEFINE EXTENT
.
The default value for SBBUFF is 1, meaning base record buffers are read in units of one track. If Fast/Unload statistics indicate a high "Base buffer wait time" value, you might be able to achieve better performance using a higher value for SBBUFF.
SEbuff=n
This parameter specifies the size of the extension record buffers. SEBUFF must be followed by a decimal integer. This integer specifies the size of extension record buffers in tracks. When an extension record cannot be found in a base record buffer, it must be synchronously read into an extension record buffer.
The SEBUFF value must be an even divisor of the number of tracks per cylinder on the input device. For example, if the input device is a 3380, this value could be either 1, 3, 5 or 15.
If the input data set allocation is not in cylinder units and the input
device does not support DEFINE EXTENT
, the only
valid value for this parameter is 1.
(Prior to version 4.0 of Fast/Unload, SEBUFF greater than 1 requires data set
allocation in cylinder units, regardless of the support for DEFINE EXTENT
.)
Most modern DASDs support DEFINE EXTENT
.
The default for SEBUFF is 1, meaning extension records are read in units of one track. In general there is probably no advantage to setting this value to anything other than 1, and in fact a large SEBUFF would probably produce degraded performance.
SEQ
This parameter indicates that the input program (FUNIN
in batch mode) has
sequence numbers in columns 73 through 80.
If SEQ is specified, all data after
column 72 in the input program is ignored.
By default, Fast/Unload reads all
columns in the input program.
SKiprec=n
This parameter sets the number of input records that will be skipped before the first record is processed. The FUEL program or UAI statement is not processed for skipped records.
This statement is useful when splitting an unload into multiple pieces. For example, if a database file has approximately 2 million records and you want to split the unload into two pieces, you could do one unload with MAXREC set to 1000000, then a second unload with SKIPREC set to 1000000.
The SKIPREC parameter is different from FRECORD, because FRECORD uses Model 204 record numbers while SKIPREC does not count unused record numbers.
If using SKIPREC in conjunction with FRECORD, FRECORD is used to set a starting record number, then SKIPREC records are skipped from that record number. Records skipped for SKIPREC are not counted as processed records against MAXREC.
The default for SKIPREC is 0, which means that no records are skipped.
SORTOut | SORTOUTD
In contrast to the FUNOUT parameter, both these parameters tell the external sort package to write the sorted records directly to the output sequential data set(s) after the sort. As of version 4.1, SORTOUTD is the default for Fast/Unload, unless it has been customized (see Changing the default sort parameter).
For FUEL programs with one output stream, not explicitly declared
(which includes all programs written prior to version 4.1),
you can specify
SORTOUT to maintain the pre-version 4.1 behavior: UAI SORT output is sent to the
DD named FUNOUT
, while non-UAI output is sent to the sort's SORTOUT
DD.
Alternatively, SORTOUTD provides a more consistent handling of such legacy
programs: all sorted output, whether UAI or non-UAI, goes to FUNOUT
,
written by the sort program.
For programs with multiple outputs, if SORTOUT or SORTOUTD is specified or implied, Fast/Unload tells the sort program the user-supplied destination for each sorted output stream, and the sort program does its own output.
SORTOUT, SORTOUTD, and FUNOUT are mutually exclusive. In the Fast/Unload report
dataset, only one of these will be ON
.
See FUnout.
SOrtp={31|24}
This parameter indicates the type of parameter list to be used to pass data to an external sort package. SORTP must be followed by either 24 or 31. If 24 is specified, the "old-fashioned" 24-bit parameter list is used. If 31 is specified, the 31-bit extended parameter list is used.
The default for SORTP as shipped is 31, but you can modify this setting if your site requires.
For more details about this parameter see Sort parameter list.
UPArm="string"
This parameter specifies a string that can be accessed in the FUEL program as a special variable (#UPARM; see Entities for a discussion of special variables in FUEL.)
If the UPARM string contains any blanks, it can be preceded by and followed by one double quotation mark, for example:
// EXEC PGM=FUNLOAD,PARM='UPARM="Good job"'
The double quotation marks will not be part of the value of #UPARM.
Under z/OS, the maximum length of the string, not including the quotation marks, is 100. Under CMS, the string may not contain blanks, and the length of the string is restricted to 8.
Upper
This parameter indicates that you want the report data set to be written using uppercase characters only. This option should be used if you are using terminals or printers that do not correctly handle mixed-case output.
By default, Fast/Unload produces mixed-case output.
See also
- Fast/Unload overview
- Fast/Unload invocation
- Fast/Unload program parameters
- Fast/Unload Extraction Language (FUEL)
- Fast/Unload standard #functions
- Fast/Unload BLOB/CLOB processing considerations
- Fast/Unload datetime processing considerations
- Fast/Unload DATESTAT analysis
- Fast/Unload job statistics
- Fast/Unload SOUL Interface
- Fast/Unload with an external sort package
- Fast/Unload with DBCS data
- Fast/Unload customer-written assembler #function packages
- Fast/Unload user exits or filters
- Fast/Unload with Model 204 file groups
- Fast/Unload with Model 204 fieldgroups
- Fast/Unload with the Sir2000 Field Migration Facility
- Fast/Unload floating point arithmetic and numeric conversion
- Fast/Unload program return codes
- Fast/Unload installation
- Fast/Unload customization of defaults
- Fast/Unload SMF record format
- Fast/Unload release notes
- Fast/Unload messages