what does this mean when SQLCOD = -206. I need to write 2 sets embedded SQL statement in my program. first one is one and I was able to fetch data but the 2nd one has error just right after I declare cursor. Here are the statements
EVAL SQLSTMT2 = SELECT_H_2 + WHERE_H_2;
+ AND_H_A;
EXEC SQL
PREPARE S2 FROM :SQLSTMT2;
EXEC SQL
DECLARE S2CURSOR CURSOR2 FOR S2;
IF SQLCOD < 0;
DUMP;
LEAVESR;
ENDIF;
Software/Hardware used:
System I
ASKED:
August 19, 2010 7:06 PM
UPDATED:
August 19, 2010 10:55 PM
Since your program did a dump can you tell use what as in those 4 varibles..we might have a change at helping.
Phil