Joined: 25 Jul 2001 Posts: 3 Location: CBH, Perth, Australia
We are currently using MQSeries to transfer single transactions (one transaction per message using RPG programs) to NT and RS/6000 platforms. We now have a requirement to be able to transfer files (one file per message)to these platforms using MQSeries (and eventually receive files back from these platforms). Can anyone shed some light on how best to do this?
[Note: RPG does not seem to have a way of 'placing' a complete file into the MQ Buffer, other than loading as much as you can into an array (limited to maximum size of RPG array) and then placing the array into the MQ Buffer]
Try this sample that I've created. It contain some specialites for ILE/RPG such as call to C-function memmove from the RPG program.
I send you the source code as attachment in an em.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum