A fix is available
APAR status
Closed as program error.
Error description
DDL command on a stored procedure results in "Missing semi-colon after sql_variable_declaration" and "ADB2PA: The following statement could not be parsed." This occurs when the stored procedure has a non-built-in data type DECLARE with DEFAULT.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of Db2 Administration Tool for z/OS * * who use the DDL command on stored procedures * * that declare user-defined typed variables * * with CONSTANT or DEFAULT * **************************************************************** * PROBLEM DESCRIPTION: SQL parsing supports options DEFAULT * * and CONSTANT in the DECLARE statement * * for built-in data types but not for * * user-defined data types. * **************************************************************** SQL parsing is updated to support DEFAULT and CONSTANT when used in the DECLARE statement for user-defined data types.
Problem conclusion
The problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PH47830
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
2022-07-08
Closed date
2022-11-16
Last modified date
2022-12-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI83315 UI83316
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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
01 December 2022