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 Discussion » Configuring Mirco Focus Cobol program to run as MQ Client

Post new topic  Reply to topic
 Configuring Mirco Focus Cobol program to run as MQ Client « View previous topic :: View next topic » 
Author Message
jeasterl
PostPosted: Tue Sep 14, 2010 1:13 pm    Post subject: Configuring Mirco Focus Cobol program to run as MQ Client Reply with quote

Acolyte

Joined: 24 Jun 2001
Posts: 65

We have a Micro Focus Cobol program that has been running on HP-UX and connecting to a local queue manager. A business decision was made to move all queue managers to Windows. We need to configure the application to run now as a WebSphere MQ client.

An AMQCLCHL.TAB file has been generated containing the new queue manager connection information, and we have been able to successfully connect to the Windows queue manager using the sample programs. However, each time we attempt to connect via the Micro Focus Cobol application, we receive a 2058.

Any help / suggestions would be greatly appreciated!
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Sep 14, 2010 1:23 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Obvious question - has the application been recompiled against the client libraries, assuming it can be done with COBOL? (I'm no developer and a quick hack around in the manuals I didn't find anything explicit ).
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
jeasterl
PostPosted: Tue Sep 14, 2010 1:40 pm    Post subject: Reply with quote

Acolyte

Joined: 24 Jun 2001
Posts: 65

I am not developer either We "think" we have recompiled the code against the client libraries...been looking for something concete in the documentation that tells exactly what we should be doing. Still got the 2058.

Stay tuned
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Sep 14, 2010 1:55 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Does it say anywhere in your documentation whether a client connection is supported in COBOL?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Sep 14, 2010 4:11 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I deny that I have done this before.

But you should look at the LOAD LIBRARY statement or whatever it is.
Back to top
View user's profile Send private message
zonko
PostPosted: Tue Sep 14, 2010 10:01 pm    Post subject: Reply with quote

Voyager

Joined: 04 Nov 2009
Posts: 78

Quote:
Compiling 32 bit programs:

$ cob32 -xv amqsput.cbl -L /opt/mqm/lib -lmqmcb Server for COBOL
$ cob32 -xv amqsput.cbl -L /opt/mqm/lib -lmqicb Client for COBOL
$ cob32 -xtv amqsput.cbl -L /opt/mqm/lib -lmqmcb_r Threaded Server for COBOL
$ cob32 -xtv amqsput.cbl -L /opt/mqm/lib -lmqicb_r Threaded Client for COBOL
Compiling 64 bit programs:

$ cob64 -xv amqsput.cbl -L /opt/mqm/lib64 -lmqmcb Server for COBOL
$ cob64 -xv amqsput.cbl -L /opt/mqm/lib64 -lmqicb Client for COBOL
$ cob64 -xtv amqsput.cbl -L /opt/mqm/lib64 -lmqmcb_r Threaded Server for COBOL
$ cob64 -xtv amqsput.cbl -L /opt/mqm/lib64 -lmqicb_r Threaded Client for COBOL


How hard can it be?

This was cunningly hidden in the APG, Building your application on HPUX, Preparing COBOL programs.

Did you look in the manual at all?
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 Discussion » Configuring Mirco Focus Cobol program to run as MQ Client
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.