IBM Support

PM86081: CANNOT GENERATE COPYBOOK DUE TO FAILURE IN IMPORTING COBOL SOURCE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When generating copybook (COBOL BOM enablement), an exception
    with the following stack trace is thrown in ODM V 8.0.1.
    A copybook can be generated based on the same BOM in ODM
    V 8.0.0.X.
    
    com.ibm.etools.cobol.importer.CobolException: IWAA0645E: The
    import of the COBOL source has failed.
        at
    com.ibm.etools.cobol.importer.CobolSourceResource.doLoad(CobolSo
    urceResource.java:314)
        at
    org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceIm
    pl.java:1494)
        at
    com.ibm.rules.zxom.studio.model.CobolImportHelper.importCobol(Co
    bolImportHelper.java:42)
        at
    com.ibm.rules.zxom.studio.model.CobolParserHelper.parseIntoRoot(
    CobolParserHelper.java:68)
    
    The problem is because in V8.0.1, the full class name can only
    take up to 30 characters including class package name.
    

Local fix

  • Refactor the class name (and class package name) to be less than
    30 characters
    

Problem summary

  • The fully qualified name of a class has a limitation when
    generating COBOL. we need to enforce this limitation in the
    code.
    

Problem conclusion

  • the code is modified to resolve this issue
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM86081

  • Reported component name

    WS ODM FOR Z/OS

  • Reported component ID

    5655Y1700

  • Reported release

    010

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-04-02

  • Closed date

    2013-07-25

  • Last modified date

    2013-07-25

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

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

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    WS ODM FOR Z/OS

  • Fixed component ID

    5655Y1700

Applicable component levels

  • R001 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"010"}]

Document Information

Modified date:
02 November 2021