FUNL0051 PUT (errtype) on line (lineno) for record (recno) in file (filename), output record (outrec).: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
m (misc formatting)
Line 1: Line 1:
A conversion error or an unexpected missing value was encountered when executing a PUT statement.
A conversion error or an unexpected missing value was encountered when executing a <var>[[Fast/Unload PUT statement#PUT|PUT]]</var> statement.


''errtype'' will either indicate ERROR if there was a conversion error or MISSING if the value was missing.
''errtype'' is <code>ERROR</code> if there was a conversion error, or it is <code>MISSING</code> if the value was missing.


''lineno'' indicates the line number of the compiled PUT statement being executed.
''lineno'' indicates the line number of the compiled <var>PUT</var> statement being executed.


''recno'' indicates the <var class="product">Model 204</var> record number of the record being processed. This record could be examined under <var class="product">Model 204</var> with the '''FOR RECORD NUMBER''' statement or using the '''POINT$''' facility.
''recno'' indicates the <var class="product">Model&nbsp;204</var> record number of the record being processed. This record could be examined under <var class="product">Model&nbsp;204</var> with the <var>[[FOR RECORD NUMBER statement#FOR RECORD NUMBER processing|For Record Number]]</var> statement or using the <var>[[FD, FDWOL, or FDR - Find to recordset#Point$|Point$]]</var> condition.


''filename'' indicates the name of the file containing the record. This will be the name of the file being unloaded unless a group is being unloaded via the ''[[Fast/Unload SOUL Interface]]'', in which case the indicated file is one of the files in the group.
''filename'' indicates the name of the file containing the record. This will be the name of the file being unloaded unless a group is being unloaded via the [[Fast/Unload SOUL Interface]], in which case the indicated file is one of the files in the group.


''outrec'' is the output record number on which the error occurred; in this case, the first output record is numbered 0.
''outrec'' is the output record number on which the error occurred; in this case, the first output record is numbered 0.


If you wish to suppress these messages for a particular PUT statement use the NOREPORT option on the PUT statement.
To suppress these messages for a particular <var>PUT</var> statement, use the <var>NOREPORT</var> option on the <var>PUT</var> statement.


If this message is unexpected, verify the contents of the indicated record using either <var class="product">Model 204</var> or ''[[Fast/Unload]]'' (with the FRECORD and MAXREC parameters).
If this message is unexpected, verify the contents of the indicated record using <var class="product">Model&nbsp;204</var> or using [[Fast/Unload]] (with the <var>[[Fast/Unload_program_parameters#Frecord.3Dn|Frecord]]</var> and <var>[[Fast/Unload program parameters#Maxrec.3Dn|Maxrec]]</var> parameters).


[[Category:Fast/Unload messages]]
[[Category:Fast/Unload messages]]

Revision as of 20:11, 26 July 2016

A conversion error or an unexpected missing value was encountered when executing a PUT statement.

errtype is ERROR if there was a conversion error, or it is MISSING if the value was missing.

lineno indicates the line number of the compiled PUT statement being executed.

recno indicates the Model 204 record number of the record being processed. This record could be examined under Model 204 with the For Record Number statement or using the Point$ condition.

filename indicates the name of the file containing the record. This will be the name of the file being unloaded unless a group is being unloaded via the Fast/Unload SOUL Interface, in which case the indicated file is one of the files in the group.

outrec is the output record number on which the error occurred; in this case, the first output record is numbered 0.

To suppress these messages for a particular PUT statement, use the NOREPORT option on the PUT statement.

If this message is unexpected, verify the contents of the indicated record using Model 204 or using Fast/Unload (with the Frecord and Maxrec parameters).