A fix is available
APAR status
Closed as program error.
Error description
A logical unload which SQL statement involves a Common Table Expression fails with a syntax error (msgINZU097E SYNTAX ERROR - UNRECOGNIZED ELEMENT WITH FOR UNLOAD BLOCK.). For example, an unload statement starting as follows is not supported. UNLOAD DIRECT NO WITH CTE AS ( SELECT C1, C2 FROM ME.MYTABLE WHERE C1 = 'MYCRITERION' ) ... Common Table Expressions are supported by Unload Plus. This should be supported by the utility (DB2 HPU/InfoUnload) as well, at least when the Unload plus syntax is used. PB12782 MSGINZU097 INZU097E INZU097
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of DB2 High Performance Unload. * **************************************************************** * PROBLEM DESCRIPTION: A logical unload which SQL statement * * involves a Common Table Expression * * fails with a syntax error (msgINZU097E * * SYNTAX ERROR - UNRECOGNIZED ELEMENT * * WITH FOR UNLOAD BLOCK.). * * For example, an unload statement * * starting as follows is not supported. * * UNLOAD DIRECT NO * * WITH CTE AS * * ( * * SELECT C1, C2 * * FROM ME.MYTABLE * * WHERE C1 = 'MYCRITERION' * * ) * * ... * * Common Table Expressions are supported * * by Unload Plus. This should be * * supported by the DB2 HPU as well, at * * least when the Unload plus syntax is * * used. * * pb 12782 * **************************************************************** * RECOMMENDATION: APPLY the PTF. * **************************************************************** The inzpyacc, inzctrlp and inztoken modules were changed.
Problem conclusion
APPLY the PTF.
Temporary fix
Comments
APAR Information
APAR number
PI41560
Reported component name
DB2 HI PERF UNL
Reported component ID
5697F4400
Reported release
430
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-05-21
Closed date
2015-05-29
Last modified date
2015-07-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
INZUTILK
Fix information
Fixed component name
DB2 HI PERF UNL
Fixed component ID
5697F4400
Applicable component levels
R430 PSY UI28086
UP15/06/03 P F506
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSAUUV","label":"IBM Db2 High Performance Unload for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.3.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
12 February 2021