Charles - you are going to feel so embarrassed!!

Your string ends right before the zero - you need to double up the apostrophes within the string.

Later
Vern

-------------- Original message --------------
From: "Charles Wilt" <charles.wilt@xxxxxxxxx>

All,

I'm trying to prepare the following statement (from the dump):

STMT CHAR(102) VARYING 'update FADDRP set
RECACT = '0' where current of cursor stgTblCsr'

and I'm getting an SQL State error code of 42601 - A character, token,
or clause is invalid or missing.

Anybody see what I'm missing?

Thanks

Charles Wilt
--
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,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].