When you are able to successfully create the JDBCAdapter AS400 connection and trying to create AdapterService using the above connection then why you need the database name setting the AS??
The connection is not taking the database name and the database name, schema, table has to be given manually for e.g. hmtest.hmtstdta.F1234
hmtest - server
hmtstdta - schema
F1234 - table name
When i move the code to production i have to manually reset everything again.
I want to avoid this.
If the database name is successful then i can give as .. where in the Current catalog would be prod server, current schema would be prod database.