Guardian Procedure Errors and Messages Manual

17 Formatter Errors
The following errors are returned by the FORMATDATA and FORMATDATAX procedures. The
error code is returned as the resulting value from the procedure call.
For additional information about the FORMATDATA[X] procedures, see the Guardian Programmer's
Guide.
Error Codes
This subsection lists each FORMATDATA[X] procedure error code and provides a description of
each code.
267 BUFFER OVERFLOW
Cause To interpret an edit descriptor, FORMATDATA[X] had to access a character before the start
of the buffer or a character outside the buffer.
Effect The procedure sets the error code and returns without performing the requested operation.
Recovery Correct the format.
268 NO BUFFER
Cause FORMATDATA[X] required a new buffer, but there were no more buffers.
Effect The procedure sets the error code and returns without performing the requested operation.
Recovery Correct the format, or increase the number of buffers.
270 FORMAT LOOPBACK
Cause Data items remained to be processed after FORMATDATA[X] reached the end of a format
that contains no repeatable edit descriptors.
Effect The procedure sets the error code and returns without performing the requested operation.
Recovery Include repeatable edit descriptors in the format, or reduce the number of data items.
271 EDIT ITEM MISMATCH
Cause In a format-directed operation, an edit descriptor was matched to a data element that has
an incompatible type. For example, the G edit descriptor was associated with a string data element
on output, or any edit descriptor except A was associated with a string data element on input.
In list-directed input, a numeric data element was repeated using the r*c form, and some data
element after the first element to which this form applied was a string-type element.
Effect The procedure sets the error code and returns without performing the requested operation.
Recovery Correct the format, or correct the data list to include missing (or delete extra) items.
272 ILLEGAL INPUT CHARACTER
Cause The numeric input field contained an inappropriate character for the corresponding edit
descriptor. For example, a nonnumeric character was entered in a field being interpreted according
to the I edit descriptor, or lowercase letters were used where uppercase letters were required.
Effect The procedure sets the error code and returns without performing the requested operation.
230 Formatter Errors