IBM Support

PH61722: PL1 PROGRAM BUILD RESULT IN ?SYNTAX ERROR: 'SCOPE PROBLEM ENCOUNTERED.'?

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

  • When building PL1 program in AD Build Client, the logs shows
    errors about  ?Syntax error: 'Scope problem
    encountered.'?
    

Local fix

  • n.a
    

Problem summary

  • PL1 Preprocessor - after building some PL1 source files, certain
    statement are not saved in the database and not shown in the
    analyses
    

Problem conclusion

  • Multiple issues were found:
    1. When calling a procedure with parameters, if one of the
    parameters contains parentheses, the procedure call is not
    parsed correctly. This was fixed by considering the parentheses
    pairing to be done correctly.
    2. For GOTO syntax, if the label is declared inside a DO block,
    the GOTO doesn't know to jump inside a block, because it was
    defined the same as a FOR block. This was fixed by adding a new
    type of block definition specially for the DO block.
    
    Fixed for 6.1.2-iFix2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH61722

  • 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

    2024-06-06

  • Closed date

    2025-12-03

  • Last modified date

    2025-12-03

  • 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":"BU048","label":"IBM Software"},"Product":{"code":"SSRR9Q","label":"IBM Application Discovery"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"612","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
03 December 2025