This article addresses what to do if there is not a source available for the web service deployed under Enterprise Server when debugging or animating.
Problem:
What do I do if there is no source available for web service deployed under Enterprise Server when debugging or animating?
Resolution:
This issue has to do with debugging, otherwise known as animating, a COBOL program deployed as a web service under Enterprise Server where there is a call to CBL_DEBUGBREAK in the source of the service and you have also deployed the .idy debug file. Because a SEP (Service Execution Process) is running your COBOL web service subprogram, a call to CBL_DEBUGBREAK will prompt you to animate and it will bring up a new copy of the Net Express Animator that will attach to the SEP and debug your program. This new copy of Animator will not have a loaded project, so it has to find the source file for the service program. It does this by looking for the name of the source file in the .idy file that is deployed under Enterprise Server. With this information, it knows the location of that source file and can load it.
If you get a message from Animator that no source is available for that program, then the location specified in the .idy file is not where the source is currently located. This can happen if you move your project to another location, but don't force a "Rebuild All" of that project and redeploy it to Enterprise Server before you debug again. A work-around is to copy the source file to the location of the deployed service (check the location via Enterprise Server Admin) but the best thing to do is to rebuild and redeploy.
#Enterprise
#ServerExpress
#EnterpriseServer
#Server
#COBOL
#netexpress