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 » MQOPEN 0c1 error. (Mainframe batch program)

Post new topic  Reply to topic
 MQOPEN 0c1 error. (Mainframe batch program) « View previous topic :: View next topic » 
Author Message
krondorl
PostPosted: Wed May 15, 2002 10:28 am    Post subject: MQOPEN 0c1 error. (Mainframe batch program) Reply with quote

Newbie

Joined: 15 May 2002
Posts: 8

Hi there,

I have been struggling with a very strange problem. I wrote a mainframe cobol batch program that takes 2 parms from the JCL. One parm is to connect to the correct Q Manager and the other is for which of 2 types of data to put on the queue. The compile completes without errors.

Now to the problem. When I run the program, I get "CEE3201S The system detected an operation exception." on the MQOPEN command. The last couple of runs I did a test and put in a qmgr name that doesn't exist in our system and the result was that it still connects with a return code of 0. Which is a mistake in the first place.

Would anyone have a clue as to why this is happening?

(Just a quick note: I also compiled and ran the sample code that comes with MQ and I get the same errors.)

KD.
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Thu May 16, 2002 12:42 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Hi,

when you're linking the program, which stub are you including ?
CSQBSTUB og CSQCSTUB ?

My guess is CSQCSTUB..... but CSQBSTUB is the right one...
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
krondorl
PostPosted: Thu May 16, 2002 4:56 am    Post subject: Linked Stub!! Reply with quote

Newbie

Joined: 15 May 2002
Posts: 8

DOH!!!!

I was using the CSTUB. I must say that out of 6 people that looked at it not one of use (and 3 of them are the company MQ support people) noticed that!!

I wasn't even aware there were 2 version, but now that I think about it, it only makes sense that there should be!!

Thanks!! Everything works now!! Yee Ha!!

Kd.
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 » MQOPEN 0c1 error. (Mainframe batch program)
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.