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.1063inline C code for JOB() UDF (DO NOT COMPILE)
COSVER2018-02-18 14.06.1086inline C code for OSVER UDF (DO NOT COMPILE)
COSVRM2018-02-18 14.06.1082inline C code for OSVRM UDF (DO NOT COMPILE)
CRTVMBRD2018-02-18 14.06.1064inline C code for RTVMBRD UDF (DO NOT COMPILE)
CSYSINFO2018-02-18 14.06.1076inline C code for SYSINFO UDF (DO NOT COMPILE)
EDITCODES2018-02-18 14.06.1086RPG and DDS Edit Codes Table
EDITCODEVW2018-02-18 14.06.1068RPG and DDS Edit Codes Table
EDTCDE2018-02-18 14.06.1081RPG and DDS Edit Codes Table - Listing
IBMBLOG2018-02-18 14.06.10674IBM Db2 for i Blog article query
JOB2018-02-18 14.06.1062SQL UDF Source for JOB(jobname,'component')
MBRLIST2018-02-18 14.06.10216Example shows the use of our MBRLIST UDTF
MSGW2018-02-18 14.06.10546Detect & report jobs in Message Wait (MSGW) status
OSVER2018-02-18 14.06.1076SQL UDF Source for OSVER (COMPILE THIS)
OSVRM2018-02-18 14.06.1071SQL UDF Source for OSVRM (COMPILE THIS)
RTVMBRD2018-02-18 14.06.1089SQL UDF Source for RTVMBRD (COMPILE THIS)
SYSINFO2018-02-18 14.06.10125SQL UDF Source for SYSINFO (COMPILE THIS)

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