ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQ triggering Java & RPG on AS/400

Post new topic  Reply to topic
 MQ triggering Java & RPG on AS/400 « View previous topic :: View next topic » 
Author Message
twegmann
PostPosted: Wed Jun 04, 2003 10:28 am    Post subject: MQ triggering Java & RPG on AS/400 Reply with quote

Novice

Joined: 09 Aug 2001
Posts: 23
Location: New Jersey

We are struggling a bit with how to best have MQ trigger on AS400 platform (we are new to AS400, have used MQ a lot in AIX). If anyone can relate what they've done, would sure appreciate it.

Here's what I got :
When data arrives at a queue on the 400, I need to run a java pgm to get the data from the queue and put it in a file, then run an RPG pgm to read the file and load the data into the target application.

We first built a QShell script (which contain commands to run the java pgm and then the rpg pgm) but have been unable to get MQ to trigger the QShell.

My guys now think we will have to have MQ trigger a second rpg pgm. This second rpg pgm will invoke the QShell script.

Any advice/feedback is appreciated.
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Jun 04, 2003 10:57 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I am not too much of an iSeries guy but this is how we have done triggering if it has to trigger a java program.

Call the java program from a CL program.
In a CL program, if you call a java program, it will invoke QShell and then the java program will run under the QShell. It was so slow that we went on to write C programs. I am not sure if you can trigger a QShell script.

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ triggering Java & RPG on AS/400
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.