Midrange News for the IBM i Community

Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
IBM i CL Enhancements in v7r1 TRx
has no ratings.
Published: 06 Feb 2013
Revised: 11 Feb 2013 - 4036 days ago
Last viewed on: 01 Mar 2024 (9009 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

IBM i CL Enhancements in v7r1 TRx Published by: Bob Cozzi on 06 Feb 2013 view comments

It took two days of searching, but I finally found the page where it explains the few CL enhancements offered in the Technology Refreshes (TR1 through TR5).

IBM i V7R1 CL Enhancements Link

The good news is that they offer weird *PRV support. That is you can use them in CL programs on V7R1 systems only, however you may also specify any valid target release (TGTRLS) value (back to V5R4) when creating the programs. However the new built in functions are only available on V7R1 systems. That is, the runtime is supported back to v5r4, but the source compiler won't work with them on a V5R4 machine. So you have to be on V7R1 to compile. (Requires PTF SE54031)

Interestingly, this is the exact architecture I recommended IBM move to for all its compilers.


  1. Integer Support Now Includes 2, 4 and 8 byte integers. It still doesn't offer 1-byte int or "TINYINT" as its being called.
  2. RTVCLSRC now works with ILE CL
  3. New INCLUDE command works like RPG IV's /INCLUDE or /COPY statements but for CL.
  4. There are six new built-in functions in CL that are basically a port of the equivalent functions from RPG IV.

Previously introduced CL built-in functions include:



Return to midrangenews.com home page.
Sort Ascend | Descend