We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
- Home
- Sitemap
- Product Forums
- Rocket COBOL
- RocketĀ® Net Express/Server Express
- DB0006 Required DB software: 'db2agapi' could not be found.
DB0006 Required DB software: 'db2agapi' could not be found.
- January 15, 2018
- 13 replies
- 0 views
13 replies
- Rocketeer
- 251 replies
- January 15, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
db2agapi.dll is usually found in C:\\Program Files (x86)\\IBM\\SQLLIB\\BIN. You need to make sure this is added to the PATH without any quotes on. Is that what you already have?
- Author
- Rocketeer
- 19312 replies
- January 15, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
- Rocketeer
- 251 replies
- January 16, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
Are you using the Net Express 32-bit or 64-bit command prompt? You need to make sure you use the 32-bit one.
- Author
- Rocketeer
- 19312 replies
- January 16, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
- Rocketeer
- 251 replies
- January 16, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
Hopefully, you're running Net Express 5.1 because the next step is to turn the CTF trace on. We should then be able to see why it's not picking up db2agapi.dll. You may find the instructions in this KB article here
- Author
- Rocketeer
- 19312 replies
- January 16, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
- Author
- Rocketeer
- 19312 replies
- January 16, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
- Rocketeer
- 251 replies
- January 16, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
You may package the CTF trace into a 7z or zip file and attach it here, and I'll have a look at it as soon as I can.
- Author
- Rocketeer
- 19312 replies
- January 17, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
- Rocketeer
- 251 replies
- January 17, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
You may click on "Use rich formatting" at the bottom right of the message field, and then you will see the Insert menu.
- Author
- Rocketeer
- 19312 replies
- January 17, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
- Author
- Rocketeer
- 19312 replies
- January 22, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
- Rocketeer
- 251 replies
- January 26, 2018
We use .mak files to compile cobol modules for execution in the server environment. We are testing a Windows 7 install, and the compile fails because it cannot find the db2agapi.dll. The same compile with same directives and environmental settings (i.e., path, coblib, etc...) works fine in the XP environment. I know there are some instructions on how to fix this in the IDE with a MicroFocus project build, but we are just running .mak files and don't create projects or use the IDE at all. We generate cobol modules from a 3rd party tool that kicks off the compiles or we compile them manually from the command line using generated .mak files. Does anyone know why this would occur when the db2agapi file is in the PATH? I've even put it in the directory where the compile is initiated, just to see if it would find it, but same error.
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Scanning file for viruses.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
OKThis file cannot be downloaded
Sorry, our virus scanner detected that this file isn't safe to download.
OK