Shell script to get identity value from db2 insert




So the goal is to call an insert statement and then call "identity_val_local" to get the returned identity, but I am getting a syntax error with the following...

db2 "insert into customer (name .... ) values ('Jetson', .....)
newcustomer=`values identity_val_local()`

Also tried the statement without "values"
.