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 » AS400 MQ Samples

Post new topic  Reply to topic
 AS400 MQ Samples « View previous topic :: View next topic » 
Author Message
mq_crazy
PostPosted: Mon Feb 05, 2007 2:37 pm    Post subject: AS400 MQ Samples Reply with quote

Master

Joined: 30 Jun 2004
Posts: 295

I do have MQ 6.0 Installed on AS400, but i don't find the sample programs like AMQ3PUT4, AMQ3GET4 ... under the QMQMSAMP library. I have checked that the MQ samples have been installed as part of the installation. Please help me...
Back to top
View user's profile Send private message
pathipati
PostPosted: Mon Feb 05, 2007 8:09 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Make sure that Samples are installed..
Back to top
View user's profile Send private message Yahoo Messenger
gregop
PostPosted: Tue Feb 06, 2007 12:35 am    Post subject: Reply with quote

Voyager

Joined: 24 Nov 2006
Posts: 81

Do you have source files in QMQMSAMP ?

I think you may have to compile the programs yourself.
Back to top
View user's profile Send private message
mq_crazy
PostPosted: Tue Feb 06, 2007 6:36 am    Post subject: Reply with quote

Master

Joined: 30 Jun 2004
Posts: 295

Yes they are. How should i compile them??
Back to top
View user's profile Send private message
Toronto_MQ
PostPosted: Tue Feb 06, 2007 7:01 am    Post subject: Reply with quote

Master

Joined: 10 Jul 2002
Posts: 263
Location: read my name

If you're just looking to use the sample get and put utilities, they're pre-compiled in library QMQM.

CALL QMQM/AMQSPUT0
Sample AMQSPUT0 start
Required parameter missing - queue name
Press ENTER to end terminal session.

CALL QMQM/AMQSGET4
Sample AMQSGET4 start
Required parameter missing - queue name
Press ENTER to end terminal session.

CALL QMQM/AMQSBCG4
AMQSBCG4 - starts here
**********************
Required parameter missing - queue name

Usage: QMQM/AMQSBCG4 QName [ QMgrName ]
Press ENTER to end terminal session.

Hope this helps.

Cheers
Steve
Back to top
View user's profile Send private message
mq_crazy
PostPosted: Thu Feb 08, 2007 12:08 pm    Post subject: Reply with quote

Master

Joined: 30 Jun 2004
Posts: 295

I found the programs, but if i am trying to compile them i get the following error

Compiler not able to open the /COPY or /INCLUDE file;
directive ignored.

Please help.....
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Feb 22, 2007 5:04 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

mq_crazy wrote:
I found the programs, but if i am trying to compile them i get the following error

Compiler not able to open the /COPY or /INCLUDE file;
directive ignored.

Please help.....



As Toronto_MQ wrote, you do not have to compile. Just follow what Toronto_MQ has said, it works.


type AMQSPUT0 and preff f4, a panel comes up, fill necessary data and press enter


note: in iseries, the amqsget4/amqsout0 are pgm and have to call as

call (QMQM/AMQSPUT0) PARM ( Q, QMGR)

hope this helps
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » AS400 MQ Samples
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.