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
CJOB2018-02-18 14.06.1060inline C code for JOB() UDF (DO NOT COMPILE)
COSVER2018-02-18 14.06.1083inline C code for OSVER UDF (DO NOT COMPILE)
COSVRM2018-02-18 14.06.1079inline C code for OSVRM UDF (DO NOT COMPILE)
CRTVMBRD2018-02-18 14.06.1061inline C code for RTVMBRD UDF (DO NOT COMPILE)
CSYSINFO2018-02-18 14.06.1074inline C code for SYSINFO UDF (DO NOT COMPILE)
EDITCODES2018-02-18 14.06.1084RPG and DDS Edit Codes Table
EDITCODEVW2018-02-18 14.06.1066RPG and DDS Edit Codes Table
EDTCDE2018-02-18 14.06.1078RPG and DDS Edit Codes Table - Listing
IBMBLOG2018-02-18 14.06.10666IBM Db2 for i Blog article query
JOB2018-02-18 14.06.1061SQL UDF Source for JOB(jobname,'component')
MBRLIST2018-02-18 14.06.10207Example shows the use of our MBRLIST UDTF
MSGW2018-02-18 14.06.10538Detect & report jobs in Message Wait (MSGW) status
OSVER2018-02-18 14.06.1075SQL UDF Source for OSVER (COMPILE THIS)
OSVRM2018-02-18 14.06.1070SQL UDF Source for OSVRM (COMPILE THIS)
RTVMBRD2018-02-18 14.06.1086SQL UDF Source for RTVMBRD (COMPILE THIS)
SYSINFO2018-02-18 14.06.10123SQL UDF Source for SYSINFO (COMPILE THIS)

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