Forum Moderators: open

Message Too Old, No Replies

Developing a VB App for IBM MQSeries

ActiveX Development

         

QuinDevelin

5:20 pm on Jan 2, 2003 (gmt 0)

10+ Year Member



I'm in the process of trying to figure out how to make a COM+ application for IIS5.0 that will take input from forms on a website and communicate with an AS400 via MQSeries. I have found the sample scripts included in the MQClient v5.1 and several documents on IBM's website regarding developing applications for MQSeries, but am having a difficult time getting started with understanding what it is I'm supposed to be doing.

I have extensive vbscript knowledge and a bit of Visual Basic programming experience. Discussion regarding how to get the initial interface up (open a channel to the MQSeries queue and send a message, and receive a message would go a long way to solving my problems).

txbakers

9:41 pm on Jan 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Quin and welcome.

I've written web pages with forms that can post data to the AS/400, but didn't need to write a COM app to do it.

I just set up an ODBC connection to the 400, and wrote standard ASP pages to connect to the DB.

Is what you are needing to do much more complicated?

QuinDevelin

9:49 pm on Jan 2, 2003 (gmt 0)

10+ Year Member



Kinda, the mq message that gets posted to the as400 is then taken and processed by an rpg program on the 400. The information passed is then evaluated and actions performed by an RPG program on the 400 side.

So, it's not just updating a datastructure :( Much as I wish it was.

txbakers

9:53 pm on Jan 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It might be that you need some RPG programming instead of COM programming.

Once the user submits the form, you could write that information to a Physical File. Then, using either a trigger or better yet a remote command (call a batch file on the server which can FTP a command to the 400) you can call the RPG program which will process the data posted to the PF.

Either way, you are right, it's more complicated than a simple read/write to the DB.