[Migrated content. Thread originally posted on 03 January 2012]
In my company we have been using Mainframe Express for several years to develop and test our COBOL mainframe portfolio on windows. We have also done some small scale testing using netExpress and Enterprise Server with positive result but have no customers in production yet on this platform.To be even more platform independent, I have started to investigate Visual COBOL R4. I want to focus on program with plain COBOL SQL and MQ.
I was successfully making a COBOL project that connects to our DB2 server. But I did not find any documentation about MQ API. I got Run-time error:
“ 173 Called program file not found in drive/directory: MQCONN”
I have tried to link mqiccbb.Lib and/or mqiccb32.Lib but with same result.
Is anybody aware of any examples how to set up a COBOL project with MQ API?
I also got problem when trying making a COBOL JVM project that connects to our DB2 server. I got the following build error:
[cobol] Execution error : file 'ilgen'
[cobol] error code: 114, pc=0, call=1, seg=0
[cobol] 114 Attempt to access item beyond bounds of memory (Signal 11)
I tried to include db2jcc.jar and db2jcc_license_cu.jar in Java Build path but with same result
Is anybody aware of any examples how to set up a COBOL JVM project with DB2 access (and preferably MQ API)?