IBM Support

PH57488: COMPILATION ERROR SQLCA RECEIVED DURING PROJECT BUILD

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

  • During the project build, there are many syntax errors related
    to missing variables from includes using compiler directives in
    the build log, for example:
    
    - Syntax error: 'ORDER' inside EXEC  SQL  DECLARE  C-IBS902-DB
    CURSOR WITH HOLD...,
    - Syntax error: 'IBS5510DB2'
    - Syntax error: 'A'
    

Local fix

  • n.a
    

Problem summary

  • - Many syntax errors like E.g.: Syntax error: 'ORDER' inside
    EXEC  SQL  DECLARE  C-IBS902-DB CURSOR WITH HOLD..., at line
    1776 from MBS01704
    - Syntax error: 'IBS5510DB2' at line 2396  from MBS11146
    - Syntax error: 'A' at line 2396  from MBS11146
    

Problem conclusion

  • Each issue stated above was fixed by modifying the code to
    accept:
    a) inline comments in SQL
    b) deeper imbrication levels in SQL grammar
    c) correction of SQL grammar rule for With-As clause/statement
    d) accepting COPY preprocessor command inside EXEC SQL... END
    EXEC blocks
    

Temporary fix

  • Test fix on top of AD v6.1.2 ifix2 is available upon request.
    

Comments

APAR Information

  • APAR number

    PH57488

  • Reported component name

    APPL DISCOVERY

  • Reported component ID

    5737B1600

  • Reported release

    612

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-10-12

  • Closed date

    2023-10-12

  • Last modified date

    2023-10-12

  • 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":"612","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
13 October 2023