Message : QRY4001
Cannot use PRINT when output is DISPLAY.
Message Long Text :
Cause . . . . . : You typed PRINT for the print definition value in the QRYRUN procedure and chose DISPLAY as the output device. (The output device may have defaulted to DISPLAY.) If the output device is DISPLAY, Query cannot print the query definition when you run the query. Recovery . . . : Type NOPRINT for the print definition value, or leave this parameter blank, to run the query output to the display. Change the output device to PRINTER or DISK if you want to print the query definition used when the query is run.