IBM Support

PK13242: ALC ALTPART ADD PARTITION FAILS SQLCODE104 FROM MISSING QUOTES ON DATE / TIMESTAMP LIMITKEY VALUE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In DB2 Administration Tool panel adb27cpv collects new
    LIMITKEY value. Generated ALTER TABLE ADD PART statement
    does not contain required blanks around DATE / TIMESTAMP
    limitkey value. Same issue found in panel adb21tav .
    .
    Result is SQLCODE104 SQLCODEN104 -104 Illegal symbol
    msgdsnt408i dsnt408i
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool, who run    *
    *                 on  DB2  Version  8 using the Alter Table    *
    *                 functions  to  add additional partitions,    *
    *                 are affected.                                *
    *                 .*                                           *
    *                 Users of DB2 Administration Tool, who use    *
    *                 the  PROMPT  feature,  option 3 or 3A, to    *
    *                 create a batch job with the statement(s),    *
    *                 are affected.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: SQLCODE104  may  occur  when  adding  a *
    *                      partition  when the partitioning column *
    *                      is a date, time or timestamp column due *
    *                      to unquoted values.                     *
    *                      .*                                      *
    *                      If  prompting  is  on and the batch job *
    *                      option  is  chosen,  the JCL may not be *
    *                      presented.                              *
    *                      .*                                      *
    *                      The  limitkey values for date, time and *
    *                      timestamp  columns are stored by DB2 as *
    *                      unquoted strings,  which  are presented *
    *                      to the customer  on panels ADB21TAV and *
    *                      ADB27CPV.  The product was not properly *
    *                      building the JCL.                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    See Problem Description.
    

Problem conclusion

  • Apply the fixes.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK13242

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2005-10-10

  • Closed date

    2005-12-12

  • Last modified date

    2006-01-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  •    ADBMAIN  ADB21TA  ADB21TAV ADB27C   ADB27CPV
    ADB27PAS
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R710 PSY UK09985

       UP05/12/24 P F512

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":"7.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 January 2006