FUNL0088 Cancelling run because of attempt to (action) record (recnum) twice.

From m204wiki
Jump to navigation Jump to search

This message indicates that your FUEL program attempted to "unload&CQ. a record (numbered recnum in the input Model 204 file) twice. The unload action that attempted this is either the PAI or the UNLOAD statement, as shown in the message. To ensure database integrity, Fast/Unload disallows this.

Note that in the case of UNLOAD, the prior statement that was executed is one without a field occurrence; issuing UNLOAD with a field occurrence does not prevent subsequent UNLOAD statements. Change your FUEL program so that your IF or SELECT conditions are always mutually exclusive when they enclose a PAI statement, and a normal UNLOAD followed by a normal or field UNLOAD.