COMPILE XREF of code using TABLE-SCAN crashes session.
COMPILE XREF of code featuring a TEMP-TABLE with a PRIMARY, UNIQUE index that is queried using TABLE-SCAN crashes session.
XREF file is created but is empty.
Stack trace from PROWIN reads:
stbcmpsmwhrsmwhereprofcompfdfcompsmdbspsmbkstsmsemcr_compile
...The problem does not occur when:
- the code is in a .P.
- if the primary, unique index of the TEMP-TABLE is removed.
- if the TABLE-SCAN specifier is removed from the query.
- if the XREF option is not used with the COMPILE statement.