Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
skepsys82 opened this issue Feb 16, 2022 · 0 comments
Open

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

skepsys82 opened this issue Feb 16, 2022 · 0 comments

Comments

@skepsys82
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant