IBM Support

PK22188: MIG COMMAND WITH DDL ONLY SCOPE SPECIFIED ON PANEL ADB28M MIGRATE PARAMETERS DEFINES GENERATED BY DEFAULT NOT ALWAYS COLS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool MIG command generated DDL with a
    'ROWID NOT NULL GENERATED BY DEFAULT' column when the
    original column was defined as 'ROWID NOT NULL GENERATED ALWAYS'
    if the panel ADB28M "Migrate Parameters" options for
    "Scope of migrate" have "DDL" set to YES and the field "DATA"
    set to NO.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool, who use    *
    *                 the  Migrate function  and do not migrate    *
    *                 data, may be affected.                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: When  not  migrating data,  the  ROWID  *
    *                      column  is  generated as 'GENERATED BY  *
    *                      DEFAULT'  when  the column  is defined  *
    *                      on the source as 'GENERATED ALWAYS'.    *
    *                      .*                                      *
    *                      MIG  command  generated  DDL  with   a  *
    *                      'ROWID  NOT NULL GENERATED BY DEFAULT'  *
    *                      column   when  the original column was  *
    *                      defined as  'ROWID NOT NULL  GENERATED  *
    *                      ALWAYS'  if the panel ADB28M  "Migrate  *
    *                      Parameters"   options  for  "Scope  of  *
    *                      migrate" have "DDL" set to YES and the  *
    *                      field "DATA" set to NO.                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    See Problem Description.
    

Problem conclusion

  • When not migrating data, the ROWID column is now generated as
    it is defined on the source.
    .*
    Apply the fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK22188

  • 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

    2006-03-24

  • Closed date

    2006-09-05

  • Last modified date

    2006-10-03

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

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

Modules/Macros

  •    ADB2GEN
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • R710 PSY UK17750

       UP06/09/08 P F609

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:
03 October 2006