Why are you asking, system and password of another system wont help you much (except if you are a hacker of course) so I wil only provide DBCON-DBMS = 'DB4', in connexion info provide at least AS4_HOST and AS4_DB_LIBRARY.
For more information, I suggest you search OSS to find 523381 - BW: External DB connect for an IBM i database.
Regards,
Raymond