A fix is available
APAR status
Closed as program error.
Error description
Unexpected token after SELECT keyword - expected keyword ")" is reported when parsing a CREATE PROCEDURE statement that includes in the procedure body an INSERT statement with a full select.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of Db2 Administration Tool for z/OS * * who process INSERT INTO statements that * * use a fullselect * **************************************************************** * PROBLEM DESCRIPTION: When processing an SQL statement, such * * as CREATE PROCEDURE or ALTER PROCEDURE, * * that has an INSERT INTO (<fullselect>) * * in its procedure body, the Db2 Admin * * Tool parser fails with the following * * message: * * Unexpected token after SELECT keyword * * - expected keyword ")" * **************************************************************** This APAR corrects parsing to properly recognize a fullselect used in an INSERT INTO statement.
Problem conclusion
The problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PH66870
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
D10
Status
CLOSED PER
PE
YesPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2025-06-05
Closed date
2025-07-10
Last modified date
2025-08-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UO04029
Modules/Macros
ADB2CID ADB2CM3 ADB2PA ADB2PA3 ADB2PA4 ADB2PA5 ADB2PA6 ADB2PA7 ADB2WCL
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RD10 PSY UO04029
UP25/08/02 P F507 {
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":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 August 2025