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.
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?
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.
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.
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.
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
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.
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.
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.
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.
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.
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.
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.
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.