A fix is available
APAR status
Closed as program error.
Error description
DDL/GEN of a stored procedure containing a SET ASSIGNMENT statement may result in parser errors for the following: 1. incorrect token '||' after case clause, 2. incorrect token 'WHERE' The error messages read as follows: ADB1932W Parser error - the original DDL will be generated for the following object. Please verify the DDL. Reason code = 28 Token number = nnn, Token = || (or: Token = WHERE) ADB2PA: The following statement could not be parsed (followed by Create Procedure statement).
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: Users of the Db2 Administration Tool * * for z/OS and the Db2 Object Comparison * * Tool for z/OS. * **************************************************************** * PROBLEM DESCRIPTION: When running DDL/GEN command * * on a stored procedure, parser * * error messages may occur. * **************************************************************** * RECOMMENDATION: * **************************************************************** When running a DDL or GEN command on a stored procedure which contains a SET ASSIGNMENT and WHERE or CONCAT appears on the right hand expression, the parser may issue the following error messages: 1. incorrect token '||' after case clause, or 2. incorrect token 'WHERE' The following error messages may also appear: ADB1932W Parser error - the original DDL will be generated for the following object. Please verify the DDL. Reason code = 28 Token number = nnn, Token = || (or: Token = WHERE) ADB2PA: The following statement could not be parsed (followed by Create Procedure statement). Example of the syntax that might produce this error: SET STU_ID = (CASE when (R.ABCDE_CD in ('DEF_CONTINUOUS_NAV','DEF_RATES_AND_YIELDS','GHIWEB')) then 'JKLV' else 'OTHER' end) || '_' ||I_WXYZ_CD WHERE STU_ID = i_stu_id AND IJKLM_TUUV_CD = 'R AND EXISTS ((SELECT 1 ))
Problem conclusion
Problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PH00859
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-07-24
Closed date
2018-10-05
Last modified date
2018-11-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
ADB2PA
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
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":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
01 November 2018