Skip to content

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

@ccleaud

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 */
.

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