IBM Support

PH67309: SYNTAX ERROR: 'PARSE ERROR, EXPECTING .... ' BUILDING NATURAL PROGRAM.

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

  • Syntax error: 'Fatal parsing error has occured.'
    Syntax error: 'parse error, expecting `XXXXXX' when encountering
    token: / or: /'
    Syntax error: 'parse error when encountering token: RESULT or:
    RESULT'
    Syntax error: 'parse error when encountering token: LOCAL or:
    LOCAL'
    Syntax error: 'parse error, expecting `XXXXXX' when encountering
    token: ( or: ('
    Syntax error: 'parse error, expecting `SYM_END_LOOPS' or `LOOP'
    or `END_FIND' when encountering token: VM or: VM'
    Syntax error: 'parse error, expecting `SYM_SLASH' when
    encountering token: or: '
    Syntax error: 'parse error, expecting `END_SORT' when
    encountering token: AT or: AT'
    Syntax error: 'parse error, expecting `SYM_PERIOD' when
    encountering token: THRU or: THRU'
    Syntax error: 'parse error, expecting `SYM_PERIOD' when
    encountering token: ENDING or: ENDING'
    Syntax error: 'parse error, expecting `SYM_PERIOD' when
    encountering token: FILLER1 or: FILLER1'
    Syntax error: 'parse error, expecting `END_ENDDATA' when
    encountering token: ( or: ('
    Syntax error: 'parse error when encountering token: ; or: ;'
    Syntax error: 'parse error, expecting `DO' when encountering
    token: IF or: IF'
    Syntax error: 'parse error when encountering token: DO or: DO'
    Syntax error: 'parse error, expecting `RECORDS' or `THEM' when
    encountering token: COD-ATV2 or: COD-ATV2'
    Syntax error: 'parse error, expecting `DO' when encountering
    token: COMPUTE or: COMPUTE'
    Syntax error: 'parse error when encountering token: ADD or: ADD'
    
    The Lexer detected unknown combination: 'Sequence indicator not
    found!'
    Syntax error: 'parse error, expecting `SYM_END_LOOPS' or
    `END_READ' when encountering token: NOME/ARQUIVO or:
    NOME/ARQUIVO'
    Syntax error: 'parse error when encountering token: BREAK or:
    BREAK'
    Syntax error: 'parse error, expecting `$' when encountering
    token: IC or: IC'
    Syntax error: 'parse error when encountering token: INDEXED or:
    INDEXED'
    Syntax error: 'parse error when encountering token:
    END-SUBROUTINE or: END-SUBROUTINE'
    

Local fix

  • n/a
    

Problem summary

  • Syntax Error displayed due to unsupported Natural syntax.
    

Problem conclusion

  • Fixed by enhancing Syntax support in the Natural ADDI compiler.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH67309

  • Reported component name

    APPL DISCOVERY

  • Reported component ID

    5737B1600

  • Reported release

    613

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-07-11

  • Closed date

    2026-02-03

  • Last modified date

    2026-02-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":"613","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
03 February 2026