Skip to main content

I have several MicroFocus COBOL programs that use IBM MQ Series calls.  When they are linked to run on an MQ Series server, by including MQMCB32.LIB on the CBLLINK command, the link completes successfully with no errors.  When the programs are linked this way they run fine on an MQ Series server.  Now I need to link them to run on an MQ Series Client.  To run on an MQ Series Client they need to be linked with the MQICCB32.LIB library instead of with MQMCB32.LIB.  When I run CBLLINK to link the programs with MQICCB32.LIB the link fails with error "LNK1106: invalid file or disk full: cannot seek to 0x4828bdb6".  There is 2 GB free space on the drive where the compile is running. so I don't think it's a space problem.  These programs also include Oracle database calls, so SQLLIB18.LIB is also included on the CBLLINK command.  I saw the article that says you can't include other 3rd party libraries along with the MQ Library, but when I include the server version of the MQ library, it links fine, even though the SQL library is also included.  The MQ Series client library is in the same directory as the server library.  I tried the Procedure-Pointer work around suggested in the article mentioned above, but the link still fails.  What do I have to do to get these programs to link with the MQ Series client library? 


#COBOLMICROFOCUSNOWINDOWSXP32
#MS-DOS
#COBOL

I have several MicroFocus COBOL programs that use IBM MQ Series calls.  When they are linked to run on an MQ Series server, by including MQMCB32.LIB on the CBLLINK command, the link completes successfully with no errors.  When the programs are linked this way they run fine on an MQ Series server.  Now I need to link them to run on an MQ Series Client.  To run on an MQ Series Client they need to be linked with the MQICCB32.LIB library instead of with MQMCB32.LIB.  When I run CBLLINK to link the programs with MQICCB32.LIB the link fails with error "LNK1106: invalid file or disk full: cannot seek to 0x4828bdb6".  There is 2 GB free space on the drive where the compile is running. so I don't think it's a space problem.  These programs also include Oracle database calls, so SQLLIB18.LIB is also included on the CBLLINK command.  I saw the article that says you can't include other 3rd party libraries along with the MQ Library, but when I include the server version of the MQ library, it links fine, even though the SQL library is also included.  The MQ Series client library is in the same directory as the server library.  I tried the Procedure-Pointer work around suggested in the article mentioned above, but the link still fails.  What do I have to do to get these programs to link with the MQ Series client library? 


#COBOLMICROFOCUSNOWINDOWSXP32
#MS-DOS
#COBOL

Which actual Micro Focus COBOL product and version number are your using, Net Express, Visual COBOL, etc.?

If I repost this to the correct product forum you have a better chance of getting a reply.

Thanks.


I have several MicroFocus COBOL programs that use IBM MQ Series calls.  When they are linked to run on an MQ Series server, by including MQMCB32.LIB on the CBLLINK command, the link completes successfully with no errors.  When the programs are linked this way they run fine on an MQ Series server.  Now I need to link them to run on an MQ Series Client.  To run on an MQ Series Client they need to be linked with the MQICCB32.LIB library instead of with MQMCB32.LIB.  When I run CBLLINK to link the programs with MQICCB32.LIB the link fails with error "LNK1106: invalid file or disk full: cannot seek to 0x4828bdb6".  There is 2 GB free space on the drive where the compile is running. so I don't think it's a space problem.  These programs also include Oracle database calls, so SQLLIB18.LIB is also included on the CBLLINK command.  I saw the article that says you can't include other 3rd party libraries along with the MQ Library, but when I include the server version of the MQ library, it links fine, even though the SQL library is also included.  The MQ Series client library is in the same directory as the server library.  I tried the Procedure-Pointer work around suggested in the article mentioned above, but the link still fails.  What do I have to do to get these programs to link with the MQ Series client library? 


#COBOLMICROFOCUSNOWINDOWSXP32
#MS-DOS
#COBOL

Additional information:  We are using 32 bit  MicroFocus COBOL version 4.0.38.  We are no using Net Express.