FUNL0040 Output statements invalid with UAI.

From m204wiki
Jump to navigation Jump to search

A statement or special variable which directly manipulates the Fast/Unload output file was included in a UAI type of unload. These are incompatible with UAI, since UAI determines the format and order of the output records. The incompatible statements and special variables are:

  • #OUTLEN
  • #OUTPOS
  • OUTPUT
  • PAI
  • PUT
  • SORT (but see below)
Beginning with version 4.1, with Multiple-Output support, the statements above can be used with OUTPUT streams in a program that also includes UAI streams. This error message has therefore been retired as of version 4.1. 
Note that SORT PGM=sort program can be used (once in any FUEL program. Moreover, even with a UAI stream, an associated SORT OPTION string statement can be used (at most one per UAI stream).