Add a colon in front of the variable name - exec sql prepare SQL_Stmt from

On Tue, Sep 2, 2014 at 7:26 AM, Bill Howie <blhowie66@xxxxxxxxx> wrote:

Sorry folks, I apparently fat-fingered the send button before I finished my
email. Anyway it's pretty basic code so I'm not sure why I'm getting the
error. Is there some part of doing a PREPARE and EXECUTE that I'm
missing? I looked through a lot of examples and it looked pretty
straightforward. Any help would be MUCH appreciated. Thanks!

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact