IBM Support

PH66636: NATURAL SYNTAX ERROR: 'PARSE ERROR WHEN ENCOUNTERING TOKEN'

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

  • NATURAL programs getting errors as below:
    Syntax error: 'parse error when encountering token: DATA-STATUS
    or: DATA-STATUS'
    Syntax error: 'parse error when encountering token: GT1 or: GT1'
    
    Syntax error: 'parse error, expecting AND' or SORT' when
    encountering token: SRT or: SRT'
    Syntax error: 'parse error when encountering token:
    COD-STATUS-SITUACAO or: COD-STATUS-SITUACAO'
    Syntax error: 'parse error when encountering token: F2 or: F2'
    Syntax error: 'parse error when encountering token: GB or: GB'
    Syntax error: 'parse error when encountering token:
    DATA-CONF-VENDA or: DATA-CONF-VENDA'
    Syntax error: 'parse error when encountering token:
    INDIC-PRIMEIRO-FATURAMENTO or: INDIC-PRIMEIRO-FATURAMENTO'
    Syntax error: 'parse error when encountering token: COD-OCOR or:
    COD-OCOR'
    Syntax error: 'parse error when encountering token: G1 or: G1'
    Syntax error: 'parse error when encountering token:
    DATA-CONF-VENDA or: DATA-CONF-VENDA'
    Syntax error: 'parse error when encountering token:
    COD-AGENTE-ARRECADADOR or: COD-AGENTE-ARRECADADOR'
    

Local fix

  • n/a
    

Problem summary

  • When building a natural program, errors like the following ones
    were thrown:
     Syntax error: 'parse error when encountering token: DATA-STATUS
    or: DATA-STATUS'
     Syntax error: 'parse error, expecting AND' or SORT' when
    encountering token: SRT or: SRT'
     Error [999] : Syntax error: 'parse error, expecting `SYM_LT' or
    `FULL' or `LENGTH' when encountering token: 1 or: 1'
    

Problem conclusion

  • Some code changes have been made, and the errors do not appear
    anymore.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH66636

  • 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-05-21

  • Closed date

    2025-05-22

  • Last modified date

    2025-05-22

  • 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:
22 May 2025