IBM Support

IC94117: UPDATE A NICKNAME WITH MORE THAN 1012 COLUMNS MAY RESULT IN SQL0901N

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You may receive -901 error when trying to update a nickname with
    more than 1012 columns:
    
    DB21034E  The command was processed as an SQL statement because
    it was not a valid Command Line Processor command.  During SQL
    processing it returned:
    SQL0901N  The SQL statement failed because of a non-severe
    system error.Subsequent SQL statements can be processed.
    (Reason "Error in column idrange".)  SQLSTATE=58004
    
    Reproduce:
    
    SET PASSTHRU OS400SERV;
    DROP TABLE  TMANYCOLUMNS;
    CREATE TABLE TMANYCOLUMNS(C1 CHAR(1),C2 CHAR(1),...C1500
    CHAR(1));
    SET PASSTHRU RESET;
    
    CREATE NICKNAME NICK1 FOR OS400SERV.MYSCHEMA.TMANYCOLUMNS;
    
    UPDATE NICK1 SET C1013= 'A' WHERE C1='1';
    
    NOTE: The error only happens when there is at least one column
    with column id >1012 in the SET STATEMENT.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * The users trying to update a nickname with more than 1012    *
    * columns.                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to v10.1 fp4.                                        *
    ****************************************************************
    

Problem conclusion

  • The problem is firstly fixed on v10.1fp4.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC94117

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-14

  • Closed date

    2014-06-02

  • Last modified date

    2014-06-02

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

    IC94115

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA10 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 June 2014