Steve - you'll get a hundred responses on this ;-) The utility you used is the 'client' version. The easiest way to get this to work is to set up an environment variable called MQSERVER. Set it to something like this:
SET MQSERVER=SYSTEM.DEF.SVRCONN/TCP/PC3(1601) the first part if the name of a 'svrconn' channel, the second is the protocol used, and the third is the 'connection name' consisting of either an ip address or hostname or dsn name, followed by the port number. By default, MQ uses 1414. Even easier, is to use the 'server' version of the utility called amqsput (note the missing 'c' at the end). Cheers ... Ruud -----Original Message----- From: MQSeries List [mailto:[EMAIL PROTECTED]]On Behalf Of steve muller Sent: 07 June 2002 16:42 To: [EMAIL PROTECTED] Subject: Why 2058 from AMQSPUTC? I have installed MQ 5.2.1 on my W2K PC. I have created queue manager QM1 and a local queue Q1 (both uppercase) . In the command prompt when I type: AMQSPUTC Q1 QM1 ---> both names uppercase I get 2058 (Qmgr name error). I have no problem putting a message using MQ Explorer. Why doesn't amqsputc program recognize QM1? Thanks for all the responses. Steve __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive