IBM Support

PH10318: AD BUILD GIVES ERROR WHEN PROCEDURE DIVISION STATEMENT IS IN A COPYBOOK

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

  • in AD 5.0.5.2 on Windows, when building a project for some
    programs we get :
    Error [999] : Syntax error: 'PROCEDURE DIVISION header is
    missing'
    This happens when the PROCEDURE DIVISION is part of a COPYBOOK
    

Local fix

  • removing the copybook containing 'PROCEDURE DIVISION' statement
    and adding in the cobol file the contents solves tha issue and
    you won't receive same error anymore and build passes normally
    

Problem summary

  • The issue is generated by the fact that our compiler skips all
    the information from the IDENTIFICATION DIVISION except
    PROGRAM-ID. It skips everything until the next DIVISION is
    found.
    

Problem conclusion

  • The issue is fixed and doesn't reproduce after AD Build Client
    version 5.1.0.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH10318

  • Reported component name

    APPL DISCOVERY

  • Reported component ID

    5737B1600

  • Reported release

    505

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-28

  • Closed date

    2019-06-04

  • Last modified date

    2019-06-04

  • 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

    APPL DISCOVERY

  • Fixed component ID

    5737B1600

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSRR9Q","label":"IBM Application Discovery for IBM Z"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"505","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
04 June 2019