I am trying to get SEQ_table.nextval in a Net Express 4.0 COBOL program, which uses Oracle 10 Pro COBOL pre-compiler. I am getting ORA-2108 without any description of the error. Have any one got the similar kind of problem before. I need help in this matter since nobody seems to know whats wrong with SQL...
Below is my SQL:
I am using a working storage varaible: to store the following SQL:
WS-SQL = 'SELECT SEQ_TABLE.nextval
into :WS-RSLT-VALUE from DUAL '
EXECUTE IMMEDIATE : WS-SQL