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
m (mixed case for For Record Number)
m (mixed case for For Record Number)
 
Line 5: Line 5:
''lineno'' indicates the line number of the compiled <var>PUT</var> statement being executed.
''lineno'' indicates the line number of the compiled <var>PUT</var> statement being executed.


''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.
''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]]</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.

Latest revision as of 17:09, 27 April 2018

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).