Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Could not find MQCONN

Status
Not open for further replies.

balachandar

Programmer
Apr 16, 2001
88
0
0
CA
We tried to execute a cobol sample program provided by IBM.
First we got a few errors in linking stage itself.Then we added all libraries suggested by IBM. Then we could link it.but however when the program got executed it says canot not find MQCONN. What is the problem. All the VB sample programs are working.
Can anybody suggest ways to resolve this problem

Regards
Balachandar Ganesan
 
I don't know if this the right answer or not but it typically would fix a similar problem in VB. In the VB programs you use the appropriate MQCONN based on the MQTYPE setting for the project. Check out the MAKE tab in the VB project properties. You will need to match that more than likely in the Cobol program. The MQTYPE is used to identify the right DLL.
 
Have you figured out the answer to your problem? If not...

Where are you executing this code? Mainframe? Are you using DYNAM or NODYNAM?

You need to use 'NODYNAM' for the IBM supplied COBOL programs.

Regards,
Gina

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top