here is my code,
it's in CICS environment:
EXEC SQL
DECLARE CUR1 INSENSITIVE SCROLL CURSOR
FOR SELECT GOODID,INDATE,INPIECE
FROM STSTORAGE
WHERE GOODID = :COMM-GOID
i,debug the program in the CEDF ,and when the program comes to this sentence, the sqlcode returned -904,the table exists.
i don't konw if i should do something special to execute this sentence. i use scrollble cursor the first time.