IBM Support

PI68682: GENERATING DDL FOR TRIGGER CONTAINING NEXT VALUE FOR IN SELECT RESULTS IN IBM0421S ONCODE=520

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Attempts to generate DDL for a trigger containing NEXT VALUE
    FOR in SELECT statement results in:
    
    
    IBM0421S  ONCODE=520  The SUBSCRIPTRANGE condition was raised..
               From entry point SELECT_ELEMENT at statement 10332
               at compile unit offset +00000340 at entry offset
               +00000340.
              at address 15BBCCB0..
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool         *
    *                 for z/OS.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using the DDL/GEN line             *
    *                      command to generate a trigger           *
    *                      DDL statement, DB2 Admin fails          *
    *                      with oncode=520 / ONCODE520.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using the DDL or GEN line command on a trigger to
    generate a trigger DDL statement, an ONCODE=520 /
    ONCODE520 is observed:
    
    IBM0421S ONCODE=520 The SUBSCRIPTRANGE condition
    was raised.
    From entry point SELECT_ELEMENT at statement
    10332 at compile unit offset >offset< at entry
    offset >offset< at address >address<.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI68682

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-09-06

  • Closed date

    2017-04-13

  • Last modified date

    2017-05-01

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

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

    UI46420 UI46421

Modules/Macros

  •    ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI46420

       UP17/04/18 P F704

  • RC10 PSY UI46421

       UP17/04/18 P F704

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

Document Information

Modified date:
01 May 2017