IBM Support

PH00812: DDL GEN VIEW CROSS JOIN IBM0421S ONCODE = 520 ONCODE520 SUBSCRIPTRANGE JOIN_SPEC U4038 ABEND

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Executing DDL or GEN line command on a view containing a cross
    join may result in the following error:
    IBM0421S  ONCODE=520  The SUBSCRIPTRANGE condition was raised.
             From entry point JOIN_SPEC at statement 12406 at
    compile unit offset >offset< at entry offset >
    at address >address<.
    ERROR condition was raised
    User abend 4,038 dec occurred processing command 'DSN     '.
    Note: Statement numbers are approximate, and may vary somewhat,
    depending on release or other maintenance applied.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool         *
    *                 who uses DDL or GEN on a view with           *
    *                 a JOIN but without an ON clause.             *
    ****************************************************************
    * PROBLEM DESCRIPTION: GEN or DDL users may receive            *
    *                      error IBM0421S ONCODE=520/              *
    *                      ONCODE520 SUBSCRIPTRANGE                *
    *                      in ADB2PA, and ABENDU4083.              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Executing DDL or GEN line command on a view
    with a JOIN but without an ON clause may result in the
    following error:
    
    IBM0421S ONCODE=520 The SUBSCRIPTRANGE
    condition was raised.
    
    From entry point JOIN_SPEC at statement 12406 at
    compile unit offset >offset< at entry offset >
    at address >address<.
    
    ERROR condition was raised
    
    User abend 4,038 dec occurred processing command 'DSN '.
    
    The error occurs because the parser assumed that a JOIN
    is always followed by an ON clause, but that is not required,
    e.g. in a CROSS JOIN.
    
    Note: Statement numbers are approximate, and may vary
    somewhat, depending on release or other maintenance
    applied.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH00812

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-07-23

  • Closed date

    2018-10-05

  • Last modified date

    2018-11-01

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

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

Modules/Macros

  •    ADB2PA
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI58928

       UP18/10/12 P F810

  • RC10 PSY UI58929

       UP18/10/12 P F810

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

Document Information

Modified date:
01 November 2018