A fix is available
APAR status
Closed as program error.
Error description
The DB2 Administration Tool for z/OS GEN / DDL function issues a message: Invalid token after FOR keyword - expected keyword update-, read_only-, etc. clause Error occurred when parsing the following stmt : CREATE PROCEDURE <schema>.<procedure-name> (OUT CURRTS TIMESTAMP) LANGUAGE SQL ASUTIME LIMIT 500000 DYNAMIC RESULT SETS 1 COMMIT ON RETURN YES MODIFIES SQL DATA BEGIN SELECT CURRENT_TIMESTAMP INTO CURRTS FROM SYSIBM.SYSDUMMY1 FOR FETCH ONLY WITH UR; END#
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the DB2 Administration Tool for * * z/OS who use the GEN or DDL command that * * results in a stored procedure being * * generated. * **************************************************************** * PROBLEM DESCRIPTION: The DB2 Administration Tool for z/OS * * GEN / DDL function issues a message: * * * * Invalid token after FOR keyword - * * expected keyword update-, read_only -, * * etc. clause * * Error occurred when parsing the * * following stmt : * * * * CREATE PROCEDURE * * < schema >.< procedure-name > * * (OUT CURRTS TIMESTAMP) * * LANGUAGE SQL * * ASUTIME LIMIT 500000 * * DYNAMIC RESULT SETS 1 * * COMMIT ON RETURN YES * * MODIFIES SQL DATA * * BEGIN * * SELECT CURRENT_TIMESTAMP * * INTO CURRTS FROM SYSIBM.SYSDUMMY1 * * FOR FETCH ONLY WITH UR; * * END# * **************************************************************** * RECOMMENDATION: * **************************************************************** The "FOR FETCH ONLY" clause in the select statement is not parsed correctly.
Problem conclusion
The problem has been resolved.
Temporary fix
Comments
APAR Information
APAR number
PM42607
Reported component name
DB2 ADMIN TOOL
Reported component ID
568851500
Reported release
720
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-06-28
Closed date
2011-07-19
Last modified date
2011-09-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK69927 UK69928
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":"720","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 September 2011