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
CJOB2017-11-20 15.57.559inline C code for JOB() UDF (DO NOT COMPILE)
COSVER2017-11-20 15.57.5536inline C code for OSVER UDF (DO NOT COMPILE)
COSVRM2017-11-20 15.57.5531inline C code for OSVRM UDF (DO NOT COMPILE)
CRTVMBRD2017-11-20 15.57.5531inline C code for RTVMBRD UDF (DO NOT COMPILE)
CSYSINFO2017-11-20 15.57.5528inline C code for SYSINFO UDF (DO NOT COMPILE)
EDITCODES2017-11-20 15.57.5539RPG and DDS Edit Codes Table
EDITCODEVW2017-11-20 15.57.5532RPG and DDS Edit Codes Table
EDTCDE2017-11-20 15.57.5532RPG and DDS Edit Codes Table - Listing
IBMBLOG2017-11-20 15.57.55595IBM Db2 for i Blog article query
JOB2017-11-20 15.57.557SQL UDF Source for JOB(jobname,'component')
MBRLIST2017-11-20 15.57.55121Example shows the use of our MBRLIST UDTF
MSGW2017-11-20 15.57.55444Detect & report jobs in Message Wait (MSGW) status
OSVER2017-11-20 15.57.5538SQL UDF Source for OSVER (COMPILE THIS)
OSVRM2017-11-20 15.57.5534SQL UDF Source for OSVRM (COMPILE THIS)
RTVMBRD2017-11-20 15.57.5541SQL UDF Source for RTVMBRD (COMPILE THIS)
SYSINFO2017-11-20 15.57.5567SQL UDF Source for SYSINFO (COMPILE THIS)

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