|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
AS400 MQS to Windows 2000 MQ Client |
« View previous topic :: View next topic » |
Author |
Message
|
Jan Kent |
Posted: Tue Jul 01, 2003 7:36 pm Post subject: AS400 MQS to Windows 2000 MQ Client |
|
|
Newbie
Joined: 01 Jul 2003 Posts: 2
|
Hello Everyone,
I am very new to MQ, which has been operational at my Company for several years.
I need to set up a Proof of Concept between our test AS400 (MQ is operational) and a W2K server with MQ Client over TCP.
Does anyone have a quick (and dirty) set of configuration tables they would be willing to share ?
Alternatively, please direct me to the IBM publications that would give the most direct exaamples of what needs to be done to set up and get a file from the AS400 to the W2K machine?
Many thanks.
Jan Kent |
|
Back to top |
|
 |
interactivechannel |
Posted: Wed Jul 02, 2003 12:49 am Post subject: |
|
|
Voyager
Joined: 20 May 2003 Posts: 94 Location: uk
|
What do you mean by get a file?
Are you looking to do file transfer over MQ? |
|
Back to top |
|
 |
QMan |
Posted: Wed Jul 02, 2003 5:09 am Post subject: AS/400 - MQ |
|
|
 Novice
Joined: 25 Jun 2003 Posts: 11
|
We have done AS/400 server --> Unix as well as AS/400 Java Client to Unix
Both work ok - Execpt the installs and few commands - everything is same as in the distributed systems. _________________ Cheers!
Q Man
Websphere MQ Specialist, MQ Workflow Solun. Expert |
|
Back to top |
|
 |
Jan Kent |
Posted: Wed Jul 02, 2003 3:20 pm Post subject: |
|
|
Newbie
Joined: 01 Jul 2003 Posts: 2
|
Yes,
The tasks are:
Extract file from PRMS/AS400 application - done
Place in queue for transmission to WIN2K Server
Send via MQ
Receive at WIN2K Server
Place file in directory
I know it will work, I just don't know how to set everything up in respect of MQ Series on the AS400 and the client on the WIN2K machine.
Any examples of AS400 screen setups and Windows setups greatly appreciated.
Many thanks,
Jan Kent |
|
Back to top |
|
 |
QMan |
Posted: Thu Jul 03, 2003 5:05 am Post subject: AS400 MQS to Windows 2000 MQ Client |
|
|
 Novice
Joined: 25 Jun 2003 Posts: 11
|
Jan,
On AS400 - Make sure you have a user id - say mqm
also this user id should be part of the user profile (group) - QMQMADM
(This group should already be there as part of mq install)
on the AS400, Login as say - mqm user -
on the prompt - do -
WRKMQM and enter the F4 key
Enter the name of the Q manager and enter
you will see options for work with Qs, channels etc.
Create a Local Q say - Q1 - option 18 (you have to say - copy from some other local Q - SYSTEM.DEFAULT.LOCAL.QUEUE and rename it..)
Create a Server Connection Channel - option 20 - copy the channel SYSTEM.DEF.SVRCONN and rename it - say - WIN1.SVRCONN
Find out which port the Listener is running -
the listener is started by the command -
strmqmlsr - and enter F4
give the Port # and the Q manager name
stop the listener by - enemqmlsr - and F4..
say the listener is running on port 1414 (default)
once the AS/400 app puts the msg. on the Q Q1 -
go to the win server - and you can write a MQ Java client prog. -
specify the channel as - WIN1.SVRCONN and port = 1414 and host name = AS/400 server name and you should be able to get the msg. from the Q - Q1
For test - just put a small msg - hello world on Q1
on Win - dos prompt - do
SET MQSERVER=WIN1.SVRCONN/TCP/AS400-hostname(1414)
amqsgetc Q1 AS400Qmanagername
you should get the msg. on the screen.
hope this helps. _________________ Cheers!
Q Man
Websphere MQ Specialist, MQ Workflow Solun. Expert |
|
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
|
|
|
|