Contact Us

SQL iQuery Logo

SQL iQuery™  Download

Join the 568 users who have discovered how SQL iQuery solves their data access and reporting challenges with easy-to-use SQL.

For the latest SQL iQuery news follow us on Twitter @SQLiQuery

Benefits of Licensing our Software

  • Increase Programmer Productivity
  • Expansive list of pre-built "macros" to run IBM SQL Services easily
  • Growing list of SQL Functions to provide services across IBM i release levels.
  • Write an SQL query (SELECT statement) once and output it to different formats with no code changes
  • Output SQL SELECT results to JSON, Excel, CSV, PDF, and more!
  • Output results as a Google Chart with several controls to customize your results.
  • Write SQL Scripts to generate the results you need.
    • iQuery Script is really a interpreted programming language.
  • Prompt End Users for input using the SQL iQuery Script Prompter.
  • Run SQL statements in Batch, interactively, or from the Web
  • Create JSON results from SQL easier than any other method and send it directly to your own Web pages.
  • Email Microsoft™ Excel™ results directly to your users.
  • License per system (unlimited partitions) based on number of active CPUs ("cores")

SQL iQuery for IBM i - Download

Download Now and try it free for 60 days!

Note: On or about November 1, 2020 we will stop creating IBM i v7r2 compatible iQuery code. We will retain the latest build that is compatible with v7r2 at that time and keep it posted on this site, however after November 1, 2020 only V7R3, V7R4 and later releases will be supported. In addition, our legacy iQuery V4R8 build shall be removed at that time. Users who haven't yet updated to iQuery V5R8 should do so before November 1, 2020.

Earliest Supported IBM i Version Download Link Downloads Notes
V7R2 and later SQL iQuery V5R8 568
SQL iQuery dated 02Sep2020 Program ID 2COZ-IQ5. Check out the What's New log for the latest updates.
V7R2 and later SQL iQuery V5R8 - Nightly Build
Last Modified: 02Sep2020 Est Size: 28M -- This is a link to IQUERY.ZIP that is created periodically with fixes and updates. We use it internally and it is considered an "early experience" release. Users may experience some challenges and it may not be tested as completely as the regular product release build. If you experience any issues, please report it to us. End-Users should normally download the regular iQuery image, which is considered a stable build. Check out the fix log for the latest Information and notes on what has been fixed or changed.
SQL iQuery V5R8 - Latest Beta
Last Modified: 02Sep2020 Est Size: 28M -- This is a link to IQUERY.ZIP that contains the beta test for the product. Check out the build log for the latest Information and notes on what has been fixed or changed. (To install, simply upload the IQUERY.SAVF file to your IBM i server using FTP BINARY MODE, sending it directly to QGPL and then run the install steps listed below.
V7R2 and later SQL iQuery (V4R8) 4823
Optimized for v7r2 and later. Code Freeze V4R8

IBM i SendMail Client
06Apr2020 SQL iQuery supports emailing of the resultSet for OUTPUT formats PDF, Excel, CSV, XML, and others. we offer this Java-based email client at no charge to our COZTOOLS and SQL iQuery clients. The current build now includes support for email body content of up to 16M bytes. Alse the MSG (message body) parameter support the new *STMF option. When used, the new STMF parameter is used to identify the IFS file to be used as the email message body. This is very useful when sending HTML pages stored on the IFS as the email body.

Be sure to read the README source member restored into QTXTSRC in the SENDMAIL library. It contains the basic how-to install SendMail information.

Bob Cozzi's COZTOOLS
Bob's popular Cozzi Tools (COZTOOLS) software product is now available at no charge. You may download it here or visit the product website for more details.


Step 1: Upload the IQUERY.SAVF save file to your IBM i system using FTP (binary mode) and then run the the following steps. For FTP we use the PC/Mac App FileZilla and simply drag and drop IQUERY.SAVF onto the QGPL library. But there are other methods to get the file onto your server:

Step 2: If you have an existing installation of SQL iQuery  (use GO LICPGM option 10 to see if it is installed) you should delete it before installing a new version or refreshed update.


Where the x in QCOZIQx is either 4, 5 or another number as it appears on the Display License Programs screen. It will probably be 5, so DLTLICPGM 2COZIQ5

Step 3: Install the Licensed Program onto your IBM i system.


Again, where y is the version you are installing. This may be different from the version you deleted. Currently it is 5, as in 2COZIQ5.

After you Restore the SQL iQuery License Program, you are prompted to select the JOBQ where the post-install build routine is submitted. If you blank out the job queue name, the post-install routine is not run and you may have difficulties using some SQL iQuery features.

Additionally, the EMAIL command used to send SQL iQuery output results as EMAIL attachments is specified on the final install screen. Select the one you'd like to use, then press Enter.

After installation for non-licensed users, you have 60 days to evaluate the product. After that a paid license is required.

If you need more help with installation, Visit our installation page for more information.

Product Information

  • Name: SQL iQuery
  • Install Library: IQUERY
  • Product ID: 2COZ-IQ5

Copyright © 2014-202 Cozzi Productions, Inc. All Rights Reserved.