GreenJab is a very powerful and useful utility that allows your IBM i (System i, iSeries, AS/400) to communicate with Jabber and XMPP servers such as Google Talk (GTalk) and Jabber.org.
GreenJab can be used to communicate between your IBM i and your smartphone, browser, or any device with a chat client installed.
GreenJab works by "listening" for communications to or from a specific ID that you start a job for. That ID can be a GMail (Google) email address for user with Google Talk, or an ID set up with another Jabber/XMPP server such as those at Jabber.org.
The first thing we need to to is start the GreenJab listener job. This is done with the GreenJab command. In this case we created a special ID on Google Talk named greenjabtest@gmail.com:
Start GreenJab Listener (GREENJAB) Type choices, press Enter.User ID . . . . . . . . . . . . greenjabtest@gmail.com______Password . . . . . . . . . . . . ____________________________ Additional Parameters XMPP Server . . . . . . . . . . 'talk.google.com'Server Port . . . . . . . . . . 5222 NumberWait Time . . . . . . . . . . . 5 NumberPing Time Frequency . . . . . . 600 NumberTimeout . . . . . . . . . . . . 30 NumberJob Timeout . . . . . . . . . . 0 NumberMax Connection Retries . . . . . 0 NumberConnection Retry Wait . . . . . 0 NumberChat Status . . . . . . . . . . 'Available on GreenJab!'Chat Resource . . . . . . . . . 'GreenJab'Job Key . . . . . . . . . . . .Bind to Local IP . . . . . . . .Local Port . . . . . . . . . . . NumberStream File Code Page . . . . . 819 NumberConversion CCSID . . . . . . . . 819 NumberGoogle Cloud Print . . . . . . . *NO *YES, *NODebug . . . . . . . . . . . . . *NO *YES, *NODebug File . . . . . . . . . . .Once the job successfully starts, you should see any chat client that is set up to communicate with the user id specified change to "active" and if the status value is used, the status should be changed as well:
Once the GreenJab listener job successfully starts, you can now use an application on your IBM i to communicate with the chat client, or even use the chat client to send messages to your IBM i!