IBM Support

PI14403: "Error in generated COBOL when stand-alone functions make DL/I path calls"

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • "Error in generated COBOL when stand-alone functions make DL/I
    path calls"
    
    This error appears with VAGen migrated egl-programs using
    certain dli functions. As an example, we created simple test
    program (cobtpgm) which refers to two dli functions (cainq and
    cvinq).
    

Local fix

  • We have also noticed that it is possible to avoid this problem
    by keeping all source code of a package in a single file, and in
    some cases, by combining several packages together (to a single
    source file).
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * If a function makes a DL/I path call, and the statement      *
    * number of that call is the same as another DL/I path call    *
    * elsewhere, then the generated COBOL contains duplicate       *
    * declarations in the working storage section.                 *
    * This can happen if stand-alone functions in two different    *
    * source files make DL/I path calls on the same statement      *
    * number in their respective source files.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If a function makes a DL/I path call, and the statement      *
    * number of that call is the same as another DL/I path call    *
    * elsewhere, then the generated COBOL contains duplicate       *
    * declarations in the working storage section.                 *
    * This can happen if stand-alone functions in two different    *
    * source files make DL/I path calls on the same statement      *
    * number in their respective source files.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The software was updated to correct this.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI14403

  • Reported component name

    RATL RBD EXT VS

  • Reported component ID

    5724S5030

  • Reported release

    901

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-25

  • Closed date

    2015-03-23

  • Last modified date

    2015-03-23

  • 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

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R801 PSY

       UP

  • R851 PSY

       UP

  • R901 PSY

       UP

  • R910 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
14 October 2021