EXEC SQL
SET :WS-LOGGING-ENABLED = BRANCH.PROGRAM_LOGGING
(:PGM, :PM0168-MI-LOC)
END-EXEC
_So i am getting the syntax error in the precompile.
I am able to mitigate this after converting the SET to CALL, but i have alot of SET statements._
EXEC SQL
CALL BRANCH.PROGRAM_LOGGING(:PGM, :PM0168-MI-LOC, :WS-LOGGING-ENABLED)
END-EXEC.
Can anyone Suggest how to resolve this?
EXEC SQL
SET :WS-LOGGING-ENABLED = BRANCH.PROGRAM_LOGGING
(:PGM, :PM0168-MI-LOC)
END-EXEC
_So i am getting the syntax error in the precompile.
I am able to mitigate this after converting the SET to CALL, but i have alot of SET statements._
EXEC SQL
CALL BRANCH.PROGRAM_LOGGING(:PGM, :PM0168-MI-LOC, :WS-LOGGING-ENABLED)
END-EXEC.
Can anyone Suggest how to resolve this?