IBM Support

PH53160: COBOL SYNTAX ERRORS ON AD

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

  • Customer is handling the COBOL project, and during the build,
    there are some syntax error warning messages that are SQL
    Statements not being recognized by AD's parser;
    
    [12/14/2022  10:41 AM]  (1520) : Syntax error: '' ''
    [12/14/2022  10:41 AM]  (1528) : Syntax error: '' ''
    [12/14/2022  10:41 AM]  (1595) : Syntax error: 'EXIT'
    
    However, some other syntax error messages are related to the
    COBOL code itself;.
    
    [12/14/2022  10:41 AM]  (1499) : Syntax error:
    'SQL-COUNT-LOESCH'
    [12/14/2022  10:41 AM]  (1501) : Syntax error: 'MOVE'
    

Local fix

  • n/a
    

Problem summary

  • A complex SQL query containing expressions like:
                  (SELECT ... FROM ... ) = expr
                  (SELECT ... FROM ... ) < expr
                  (SELECT ... FROM ... ) > expr
                  (SELECT ... FROM ... ) <= expr
                  (SELECT ... FROM ... ) >= expr
                  (SELECT ... FROM ... ) <> expr
    thrown an error message due to lack of support in
    AD Cobol Compiler grammar.
    

Problem conclusion

  • The support for these complex queries was added to the compiler
    and that error is not appearing anymore. The fix was included in
     6.1.2 version and also in 6.1.1 iFix4
    

Temporary fix

  • n/a
    

Comments

APAR Information

  • APAR number

    PH53160

  • Reported component name

    APPL DISCOVERY

  • Reported component ID

    5737B1600

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-03-10

  • Closed date

    2023-05-26

  • Last modified date

    2023-05-26

  • 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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
26 May 2023