Support email

Contact Us

SQL iQuery Logo

SQL iQuery

Examples and Demo Scripts

The list below contains several SQL and iQuery example scripts. They may be accessed in the QDEMOSRC file in the IQUERY library.

To run them, use the RUNiQRY command as follows:


Where mmmmm is the name of the sample source member from the list below.

Click the Sample name to view the SQL iQuery source in that member.

Powered by COZTOOLS find out more

Click on a name in the list to view its contents.
Source Viewer © 2004 Robert Cozzi, Jr. All rights reserved.

MemberLast ModifiedViewsText
COSVER2017-10-16 17.39.3524inline C code for OSVER UDF (DO NOT COMPILE)
COSVRM2017-10-16 17.39.3520inline C code for OSVRM UDF (DO NOT COMPILE)
CRTVMBRD2017-10-16 17.39.3522inline C code for RTVMBRD UDF (DO NOT COMPILE)
CSYSINFO2017-10-16 17.39.3519inline C code for SYSINFO UDF (DO NOT COMPILE)
EDITCODES2017-10-16 17.39.3527RPG and DDS Edit Codes Table
EDITCODEVW2017-10-16 17.39.3521RPG and DDS Edit Codes Table
EDTCDE2017-10-16 17.39.3521RPG and DDS Edit Codes Table - Listing
IBMBLOG2017-10-16 17.39.35572IBM Db2 for i Blog article query
MBRLIST2017-10-16 17.39.3594Example shows the use of our MBRLIST UDTF
MSGW2017-10-16 17.39.35402Detect & report jobs in Message Wait (MSGW) status
OSVER2017-10-16 17.39.3526SQL UDF Source for OSVER (COMPILE THIS)
OSVRM2017-10-16 17.39.3524SQL UDF Source for OSVRM (COMPILE THIS)
RTVMBRD2017-10-16 17.39.3529SQL UDF Source for RTVMBRD (COMPILE THIS)
SYSINFO2017-10-16 17.39.3536SQL UDF Source for SYSINFO (COMPILE THIS)

Copyright © 2015 Cozzi Productions, Inc. All Rights Reserved.