Message : QRY5071
File &14 in &15 has logical files, cannot replace.
Message Long Text :
Cause . . . . . : The specified output database file could not be replaced because it is a physical file that has logical files based on it. Recovery . . . : You can use the Display Data Base Relations (DSPDBR) command to identify the logical files that are based on the specified output data base file. You can delete the dependent files, if you have the authority to do so, then run the query again. Or, you can go to the Define Data Base File Output display in Query (or to the Change File Option display in interactive SQL), and type the name of a new or another existing physical file in the File name prompt, and type the proper value (1 through 5) in the Data in file prompt. Or, on the RUNQRY command, you can specify a different file name on the OUTFILE parameter and the proper value in the MBROPT parameter. Run the query (or SQL SELECT statement) again.