-2029: <sequence_name>.CURRVAL
is not yet defined in this session
Explanation:
You attempted to
execute <sequence_name>.CURRVAL (Specifying Values
(extended_value_spec)) before using <sequence_name>.NEXTVAL in the current database session.
User Action:
Execute
<sequence_name>.NEXTVAL first, and then <sequence_name>.CURRVAL.