Are the programs in the same .dll or is this project set to be a multi-output project where a .dll is being generated for each COBOL program in the project?
Answer: multi-output project
What does the call statement look like?
Answer: call "Prog2"
Is it a call "literal" or a dynamic call data-name?
Answer: literal, I think
Can you confirm that this .dll does exist and it is in the same folder as the calling program?
Answer: Yes, in case I am using .exe, but if I use .dll will still have the error (I have tried to use .dll)