A fix is available
APAR status
Closed as program error.
Error description
FETCH FIRST ROWS ONLY is not recognized and gives an error: ADB7715E The DDL reader could not parse a DDL statement. The return code: 16 CREATE VIEW T.VIEW1 AS WITH RUNTST AS ( SELECT DBDAY.DATE AS RUNTST FROM T.TABLE DBDAY FETCH FIRST ROWS ONLY ) ... etc.. Token number = 25, Token = ONLY
Local fix
n/a
Problem summary
**************************************************************** * USERS AFFECTED: Users of the Db2 Administration Tool for * * z/OS or Db2 Object Comparison Tool for z/OS * * that use DDL with FETCH clauses. * **************************************************************** * PROBLEM DESCRIPTION: DDL that contains the FETCH FIRST * * ROW(S) ONLY clause fails with a * * parser error. * **************************************************************** The following error is returned for a DDL statement with a FETCH clause that does not have an optional numeric character between FIRST and ROW(S): ADB7715E The DDL reader could not parse a DDL statement. The return code: 16 The error statement: partial_DDL_statement Token number = nn, Token = ONLY
Problem conclusion
The problem is resolved.
Temporary fix
Comments
APAR Information
APAR number
PH19519
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
2019-11-22
Closed date
2020-02-17
Last modified date
2020-03-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI67941
Modules/Macros
ADB2PA
Fix information
Fixed component name
DB2 ADMIN TOOL
Fixed component ID
568851500
Applicable component levels
RC10 PSY UI67941
UP20/03/02 P F002
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.
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"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"}]
Document Information
Modified date:
31 March 2021