I have to query a DB2 database, and sometimes they take a long time to produce results. Can I run these queries in the background, and if so, where will the results appear?
Yes, you can run the queries in the background. The output depends on the utility you are using to make the query. Some utilities write to STD OUT. In most, you can specify a file, etc. Again, it depends on the features of the tool you are using to make the query.