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 » AMQ0PUT0.cbl Sample on AIX

Post new topic  Reply to topic
 AMQ0PUT0.cbl Sample on AIX « View previous topic :: View next topic » 
Author Message
tome
PostPosted: Thu Jun 01, 2006 10:33 am    Post subject: AMQ0PUT0.cbl Sample on AIX Reply with quote

Newbie

Joined: 30 May 2006
Posts: 2

Hello,

I am trying to run the sample cobol program amq0put0 on AIX and I am receiving the following error.

(/usr/mqm/samp)> cobrun amq0put0
AMQ0PUT0 start
Please enter the name of the target queue
SYSTEM.SAMPLE.LOCAL

Load error : file 'MQCONN'
error code: 173, pc=70, call=1, seg=0
173 Called program file not found in drive/directory


I have done the following exports:
export COBCPY=/usr/mqm/inc
export LIB=/usr/mqm/lib:$LIB

I have compiled the program using, cob32 -xvP amq0put0.cbl -L /usr/mqm/lib -lmqicb

Has anyone experienced this problem?

Thanks
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Jun 05, 2006 12:52 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I'm not a COBOL-AIX person. Have you tried the actual compiled copy of the sample? Does it work? Also, what is the 'cobrun' command doing? I would have thought you would execute the compiled/linked program. Is this some kind of shell that might be manipulating your LIB statement and messing things up? What version of WMQ are you using? I'm guessing the cob32 means that you are using Micro Focus COBOL?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » AMQ0PUT0.cbl Sample on AIX
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.