Skip to content

run stored-precedure send-sql-statement load-result-into fails #59

@skepsys82

Description

@skepsys82

It looks like there is another version for RUN STORED-PROCEDURE available from progress , however it is not currently recognized by proparse (https://docs.progress.com/bundle/openedge-oracle-dataserver-117/page/Loading-a-result-set-into-a-temp-table.html)

e.g.
run stored-proc send-sql-statement load-result-into hResultSet (cQuery).

Full error stack:

Original Exception: expecting EQUAL, found 'hResultSet'

C:\topicus\fundationcurrent\dev\AppServer\src\OOABL\Datamanagers\OrderManager.cls:296:59: expecting EQUAL, found 'hResultSet'
at antlr.Parser.match(Parser.java:211)
at com.joanju.proparse.ProParser.assign_equal(ProParser.java:28909)
at com.joanju.proparse.ProParser.runstoredprocedurestate(ProParser.java:48652)
at com.joanju.proparse.ProParser.runstatement(ProParser.java:12434)
at com.joanju.proparse.ProParser.statement(ProParser.java:3078)
at com.joanju.proparse.ProParser.blockorstate(ProParser.java:561)
at com.joanju.proparse.ProParser.code_block(ProParser.java:587)
at com.joanju.proparse.ProParser.methodstate(ProParser.java:10497)
at com.joanju.proparse.ProParser.statement(ProParser.java:2874)
at com.joanju.proparse.ProParser.blockorstate(ProParser.java:561)
at com.joanju.proparse.ProParser.code_block(ProParser.java:587)
at com.joanju.proparse.ProParser.classstate(ProParser.java:5988)
at com.joanju.proparse.ProParser.statement(ProParser.java:2580)
at com.joanju.proparse.ProParser.blockorstate(ProParser.java:561)
at com.joanju.proparse.ProParser.program(ProParser.java:121)
at com.joanju.proparse.DoParse.doParse(DoParse.java:203)
at org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:271)
at org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:226)
at org.prorefactor.treeparser.ParseUnit.treeParser01(ParseUnit.java:348)
at cli.Progress.ClrBridge.ClrApi.InvokeMethod(Unknown Source)
at cli.Progress.ClrBridge.BrgClrToPro.runEventDispatcher(Unknown Source)
at cli.Progress.ClrBridge.ClrApi$ProgressMessageFilter.PreFilterMessage(Unknown Source)
at cli.System.Windows.Forms.Application$ThreadContext.ProcessFilters(Unknown Source)
at cli.System.Windows.Forms.Application$ThreadContext.PreTranslateMessage(Unknown Source)
at cli.System.Windows.Forms.Application$ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Unknown Source)
at cli.System.Windows.Forms.Application$ThreadContext.RunMessageLoopInner(Unknown Source)
at cli.System.Windows.Forms.Application$ThreadContext.RunMessageLoop(Unknown Source)
at cli.Progress.ClrBridge.ClrApi.InvokeMethod(Unknown Source)
antlr.MismatchedTokenException: Mismatched Token
org.prorefactor.refactor.RefactorException: Error parsing OrderManager.cls
"

sample_run_stored_procedure.p.txt

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