IC82007: SELECT FIRST 1 RETURNS ALL RECORDS SATISFYING THE CONDITION, INSTEAD OF RETURNING 1 RECORD

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • For example, the SELECT query may be as follows:
    
          SELECT FIRST 1 col1, col2
          FROM test_tbl
          WHERE col_type = 'EXOR'
               AND col_status = 'Y'
          ORDER BY col2 DESC
          INTO TEMP t_test_tbl WITH NO LOG;
    
    
    The following conditions must exist to reproduce the problem:
    
    (1) PDQPRIORITY must be set to any value >= 2
    (2) Onconfig parameter, DBSPACETEMP must have minimum 2 or more
    temp dbspaces specified.
    (3) Onconfig parameter, VPCLASS cpu,num=2,noage, num (the number
    of VPs the database server should start initially) must be set
    to 2, or higher. The problem does not reproduce with num=1
    
    Also, if environment variable, DBSPACETEMP is set to specify
    only 1 temp dbspace, which overrides the value of DBSPACETEMP
    specified in the onconfig file, the problem does not reproduce.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * 11.70XCX customer                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Under certain situation e.g when first n is used in select   *
    * into temp table where there are more than one cpuvps are     *
    * present and more than one temp dbspaces are used then the    *
    * temp table will not have the first n rows or rather will     *
    * have all the rows.                                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to IDS-11.70.xC5                                      *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IDS-11.70.xC5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC82007

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    B70

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-13

  • Closed date

    2012-10-31

  • Last modified date

    2012-11-01

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

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

Fix information

  • Fixed component name

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

  • RB70 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Informix Servers

Software version:

B70

Reference #:

IC82007

Modified date:

2012-11-01

Translate my page

Machine Translation

Content navigation