Hi,
I created store procedure under V2R41 with volatile table. It works very well, but after we upgrade the server to V2R512, I got problem when I compile it.
the code likes:
create volatile table test, NO LOG
( column1 char(10) not null
) unique primary index (div_line)
on commit preserve rows;
insert data here
select count(*) into :divline_cnt from test;
I got error message (3807) for select statements. the compiler think the table test does not exist.
Why it happens on V2R5? How can I fix it?
Thanks very much advance.
Jing
I created store procedure under V2R41 with volatile table. It works very well, but after we upgrade the server to V2R512, I got problem when I compile it.
the code likes:
create volatile table test, NO LOG
( column1 char(10) not null
) unique primary index (div_line)
on commit preserve rows;
insert data here
select count(*) into :divline_cnt from test;
I got error message (3807) for select statements. the compiler think the table test does not exist.
Why it happens on V2R5? How can I fix it?
Thanks very much advance.
Jing