-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
curret database session.
User Response
Execute <sequence_name>.NEXTVAL first, and then <sequence_name>.CURRVAL.