What's new for IBM i 7.3

This topic highlights the changes made to this topic collection for IBM® i 7.3.

The major new features covered in this book include:

  • System-period temporal tables
  • Attach and detach partitions for a table
  • Additional OLAP functions
  • Additional aggregate functions
  • PROCESS_ID and THREAD_ID built-in global variables
  • Enhancements to ROUND, TRUNCATE, TIMESTAMP_FORMAT, and VARCHAR_FORMAT scalar functions
  • Inlining for SQL table functions
  • Support for the EXTIND option in SET OPTION for SQL functions, procedures, and triggers
  • Required Db2 PTF Group level tracking added for static statements to SYSPROGRAMSTMTSTAT
  • Increase maximum number of parameters for scalar functions and table functions to 2000
  • Increase number of return columns for table functions to 8000

In addition, the following enhancements are new since 7.2:

  • JOB_NAME and SERVER_MODE_JOB_NAME built-in global variables
  • REGEXP_xxx scalar functions and REGEXP_LIKE predicate for regular expression handling
  • OVERLAY and LOCATE_IN_STRING scalar functions
  • VARBINARY_FORMAT and VARCHAR_FORMAT_BINARY scalar functions
  • LIMIT and OFFSET support for queries
  • REPLACE option for CREATE TABLE
  • System name for CREATE VARIABLE
  • Support for PIPE statement in SQL table functions
  • Increase maximum number of indexes on a table to approximately 15000

What's new as of May 2022

What's new as of September 2021

What's new as of April 2021

  • SYSCOLUMNS2 view returns attributes for DDS created files: SYSCOLUMNS2
  • SYSPACKAGESTAT returns an indication that the package contains single use statements: SYSPACKAGESTAT

What's new as of October 2020

  • For CREATE FUNCTION, an external name that is a service program name does not require a library qualifier when the string form of the name is used. Naming conventions
  • The SELECTIVITY clause allows user hints for individual predicates: Search conditions
  • CREATE SEQUENCE supports the FOR SYSTEM NAME clause: CREATE SEQUENCE
  • DROP supports the IF EXISTS clause: DROP
  • The WHENEVER statement can call an internal procedure when a monitored condition is encountered: WHENEVER
  • SYSCOLUMNS2_SESSION view returns columns in QTEMP: SYSCOLUMNS2_SESSION

What's new as of April 2020

  • The language used to define SQL functions, procedures, and triggers is referred to as SQL PL (SQL Procedural Language)
  • Synonyms for existing functions: ARRAY_MAX_CARDINALITY and ARRAY_TRIM
  • INTERPRET function assigns a data type to binary data: INTERPRET
  • JSON_TABLE, JSON_QUERY, JSON_VALUE, JSON_TO_BSON, and BSON_TO_JSON have been modified to support a JSON expression that is an array: JSON_TABLE, JSON_QUERY, JSON_VALUE, JSON_TO_BSON, BSON_TO_JSON
  • Extended indicators can be used in OPEN and EXECUTE to allow omitting host variables from the USING list: OPEN, EXECUTE
  • TAG statement added to complement WHENEVER statement for fully free form ILE RPG: TAG
  • Extended indicators supported in SQL PL: assignment-statement
  • Documented table SYSDUMMY1: SYSDUMMY1
  • Variable length segment and blocked insert information added to SYSPARTITIONSTAT and SYSTABLESTAT views: SYSPARTITIONSTAT, SYSTABLESTAT

What's new as of October 2019

What's new as of April 2019

  • CREATE INDEX allows index columns to be renamed: CREATE INDEX
  • INSERT a row containing only default values: INSERT

What's new as of August 2018

What's new as of October 2017

What's new as of March 2017

  • IS JSON and JSON_EXISTS predicates
  • LISTAGG aggregate function
  • LTRIM and RTRIM functions support a second argument
  • CREATE TRIGGER allows dynamic statements to use 3-part names

What's new as of October 2016

  • New OLAP function: PERCENT_RANK
  • REPLACE function's third argument is optional
  • JSON_TABLE table function
  • Functions can be defined as STATEMENT DETERMINISTIC
  • INCLUDE statement supported for SQL procedures, functions, and triggers
  • SYSPARTITIONSTAT returns the TEXT value
  • SYSPROGRAMSTAT returns module name

How to see what's new or changed

To help you see where technical changes have been made, this information uses:
  • The Start of change image to mark where new or changed information begins.
  • The End of change image to mark where new or changed information ends.

To find other information about what's new or changed this release, see the Memo to users.