Skip to content

org.prorefactor.refactor.RefactorException: unexpected token PARENT-ID-RELATION #3

Description

@ccleaud

Hello,

I encounter an exception while ProParsing file with build 1128.
Can you fix this please?
Thanks a lot.

Kind regards,
Cyril CLEAUD


DEFINE TEMP-TABLE tt_one NO-UNDO XML-NODE-NAME "AAA"
    FIELD field1        AS CHARACTER    XML-NODE-TYPE "hidden".

DEFINE TEMP-TABLE tt_two NO-UNDO XML-NODE-NAME "BBB"
    FIELD id            AS RECID        XML-NODE-TYPE "hidden"
    FIELD field1        AS CHARACTER    XML-NODE-TYPE "element" XML-NODE-NAME "BB1"
    FIELD field2        AS CHARACTER    XML-NODE-TYPE "element" XML-NODE-NAME "BB2".

DEFINE DATASET ds_trafic XML-NODE-NAME "JJJ"
    FOR tt_one, tt_two
    PARENT-ID-RELATION FOR tt_one, tt_two     PARENT-ID-FIELD id        /* <-- this line causes exception in proparse */
.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions