If you are using WebSphere MQ for iSeries, you can write your applications in RPG. For more information see Coding in RPG, and refer to the WebSphere MQ for iSeries V5.3 Application Programming Reference (ILE RPG) book.