IBM Support

PH59771: COB3 ASSERTION IN DICT_LOOKUPQUALIFIEDNAME

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

  • Clients with test cases similar to the following may experience
    a cob3 assert at compile time:
    
    PROCEDURE DIVISION USING DFHCOMMAREA.
               IF IMP-TOTALE(1:)                     OF
    REGISTRAZIONE99
                                                 OF AREA-SACRG021
                  NOT = ALL NULL-IND
               THEN
                   MOVE IMP-TOTALE                     OF
    REGISTRAZIONE99
                                                       OF
    AREA-SACRG021
                   TO IMP-TOTALE                       OF
    REGISTRAZIONE99
                                                     OF
    RECORD-REGISTRAZIONE
               END-IF
               EXIT.
    
    
    =========ACTUAL OUTPUT:
    cob2 -q32 test.cbl
    IBM COBOL for Linux 1.2.0 compile started
    cob3: ../../../../wscobolpp/wds/cblle/mrm/qlndname.c:4794:
    Dict_lookupQualifiedName: Assertion `qualifiers[i] !=
    DICT_NAME_NULL' failed.
      Traceback:
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x3fc7bf)[0x569927bf]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x2343c)[0x565b943c]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(default_sigrtn+0x1b5)[0x56991b
    45]
    linux-gate.so.1(__kernel_rt_sigreturn+0x0)[0x2a99d150]
    linux-gate.so.1(__kernel_vsyscall+0x9)[0x2a99d129]
    /lib/libc.so.6(gsignal+0xc6)[0x2a3d7ae6]
    /lib/libc.so.6(abort+0xf4)[0x2a3bde64]
    /lib/libc.so.6(+0x18d6b)[0x2a3bdd6b]
    /lib/libc.so.6(+0x2ae8f)[0x2a3cfe8f]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x4ab88)[0x565e0b88]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x21ff2f)[0x567b5f2f]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x220fa8)[0x567b6fa8]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x221367)[0x567b7367]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x28b952)[0x56821952]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x1d8fdd)[0x5676efdd]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x91aa5)[0x56627aa5]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0xa0e34)[0x56636e34]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x9ecda)[0x56634cda]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x8941f)[0x5661f41f]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x22d20)[0x565b8d20]
    /lib/libc.so.6(__libc_start_main+0xf6)[0x2a3c2f36]
    /opt/ibm/cobol/1.2.0/usr/bin/cob3(+0x232d5)[0x565b92d5]
        --- End of call chain ---
    
    cob2: cob3 terminated with signal 6 (Aborted), leaving a core
    dump.
    $
    
    
    ======EXPECTED OUTPUT:
    Clean compile
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    Clients who have test cases that make use of refrence
    modifications may be affected by this issue.
    
    PROBLEM DESCRIPTION:
    The compiler is not handling the case where a qualified name has
    reference modification applied to it causing an assert at
    compile time.
    

Problem conclusion

  • The compiler frontend has been fixed to handle the above
    scenario.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH59771

  • Reported component name

    COBOL FOR LINUX

  • Reported component ID

    5737L1100

  • Reported release

    120

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-02-13

  • Closed date

    2024-03-13

  • Last modified date

    2024-03-13

  • 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

    COBOL FOR LINUX

  • Fixed component ID

    5737L1100

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7FZ2","label":"IBM COBOL for Linux on x86"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"120","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
04 April 2024