|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Mainframe MQI languages? |
« View previous topic :: View next topic » |
Author |
Message
|
zpat |
Posted: Fri Dec 09, 2005 6:08 am Post subject: Mainframe MQI languages? |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
I need to write a z/OS program to read a file, build up a large message (up to 16 MB) in a buffer and then MQPUT this to a queue.
The REXX interface can't cope as it uses storage below the 16MB line and so has a limit of about 8MB messages.
I could code something in Assembler but it's rather labour intensive!
Are there any other (free) z/OS languages that I could use? Perl perhaps?
I think we have C installed if anyone has a suitable sample program. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Dec 09, 2005 6:13 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Well, if you have a c compiler installed, you should be able to use C to do this...
I don't know, specifically, of anyone running Perl on z/OS. And I strongly suspect that the Perl MQ API would not work, as it's basically a wrapper in Perl linked to a translation layer that passes stuff to the C libraries... And I doubt those would compile on z/OS without a complete rewrite. You could see if Hildo Biersma (Perl API maintainer) has tried this.
I bet you have Java, especially if you have USS setup. I know that the Java API works under USS. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kingsley |
Posted: Fri Dec 09, 2005 8:06 am Post subject: |
|
|
Disciple
Joined: 30 Sep 2001 Posts: 175 Location: Hursley
|
If you have CAF on your MVS for the MQServer, i would suggest you to use C or VB or Java on your Workstation and put the message.
There are samples available. Just need to increase the Buffer Size and put the messages on the Queue or anywhere in your infrastructure. |
|
Back to top |
|
 |
zpat |
Posted: Fri Dec 09, 2005 10:10 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Thanks, I was just coming to that conclusion myself.
Actually the RFHUTILC program seems to be able to read a large file, now I just have to increase the 4 MB client channel size in the channel table to get it to work.
The data is on z/OS but I can FTP it to Windows OK. Luckily this is a one-off migration exercise for our image system.
I do wish IBM would publish source code for any withdrawn support pacs like the REXX support - it's not like REXX is out of fashion on the mainframe! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|