Converting Results with the E-mail Interface

 

You can convert and view a saved results set using the DB2 Web Query Tool e-mail interface. Before you can use the e-mail interface, your system administrator must authorize you as an e-mail user for the database that you want to access.

To convert a result set using the e-mail interface:

1.         E-mail DB2 Web Query Tool at the database that you want to access. DB2 Web Query Tool replies with the subject "DB2 Web Query Tool SMTP Server".

2.         Reply to the e-mail. Between the { } following "cmd" at the end of the e-mail, type "help", then send the reply.

DB2 Web Query Tool replies with an e-mail containing a list of possible commands.

3.         Reply to the e-mail. Between the { } following "cmd" at the end of the e-mail, type "convert result".

4.         Optional: type a format preference, such as "format:html", and a row limit, such as "rowlimit:50". You can also specify an alternate e-mail address to send the results to, such as "e-mail:you@youraddress.com".

5.         Type the name of the results set that you want to convert.

For example, if you want to convert the results set GROUP.RESULT to html, with a row limit of 50, and e-mail the results to you@youraddress.com, the last line in your reply might look like this:

cmd {convert result format:html rowlimit:50 e-mail:you@youraddress.com GROUP.RESULT}

6.         Send the reply.

DB2 Web Query Tool converts the results set according to your specifications.

Related information

Commands that can be used to access DB2 Web Query Tool via e-mail