In my experience AS400 expects that the connection is set up through a library. If you do not specify another library as schema it will assume that you address the connection library.
May I ask how you set up connection to AS400 with the DB2 client (DB2/CLI)?
We use Client Access for this, would like to know how to connect through DB2 client....