Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
In order to debug your program under Net Express you will have to be able to run your application on the development machine. This means that you will have to install and make available the required image3kc files to your application. This could be as simple as installing the image3k product and then pointing to the .dlls in your system PATH environment variable.
It is also possible to remotely debug your application running under Server 5.1 from your Net Express machine. Look in the Net Express Help-->Using Net Express-->Debugging and Animating Programs-->Remote Debugging for iinstructions on how to set this up.
To animate a cblcore file select Start Animating from the Animate menu item:

Click the Browse button and navigate to where your cblcore file is.
You will have to enter *.* into the filename field so that it will find all files.
After selecting cblcore as the filename then click OK to Animate the cblcore file.

It should then show you your source assuming that it is available.
This is covered in the Net Express Help under the section for Using Net Express-->Debugging and Animating Programs-->Automatic Debugging.
Thanks
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
Chris: I followed your instructions faithfully - the image3k files are available, path variable points to image3k directory, the .idy file is available, the source code is available.
When I press 'OK' to start animating I get the message: "The execution of the program <program name> has been interrupted. The program is not animatable but you can view the call/perform stack. The cause of the interrupt was: 153 subscript out of range". The call/perform stack shows Program/Class: <program name> , Section/Method: no debug information available.
I tried Just-in-Time debugging but the result was exactly the same.
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
This error would usually indicate that the EXE file that you are running when the 153 error occurs has not been compiled with the ANIM directive.
What is the command that you are using to compile the program?
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
Chris: my command is: cobol program.cbl anim case litlink makesyn "comp-5"="comp" omf(obj)
The PATH directive points to the image3k directory containing image3kc.dll. I have put the *.idy file and *.cbl source file in the directory with the *.exe file and cblcore file.
I still get the same error.
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
You should probably create a Net Express project for this application to make it easier to get animation up and running on your development computer.
If you have problems with doing this then I would suggest that you open up a Support Incident with Customer Care as it appears that we will probablly have to do a webex session with you in order to check the setup of your COBOL environment.
Thanks.
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
OK, I created a NE project, added the additional compiler directives and image3kc.lib to the link properties. Rebuilt to produce *.idy and *.int file. Started to animate and the first call to image3kc came up with "173 Called program not found in drive/directory dbopen". I tried it with both the *.lib and *.dll in the same directory as my program with the same result.
These are the project directives: %FILENAME COBIDY(%TARGETDIR) WB3 WB CSI ANIM EDITOR(MF2) ENSUITE(3) case litlink makesyn "comp-5"="comp" omf(obj); - the lowercase ones are the ones I added
As a matter of interest I set upa generic release Build and input "C:\\Program.lib Files\\Eloquence\\8.1\\lib\\image3kc.lib" in the 'Link with these LIBs" dialogue. In the "Link with these OBLs" NE inserted "BOMPPROG_RTECFG.OBJ" - I would have thought it would have entered "progname.obj". There is no *.obj file in the RELEASE directory.
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
Can you please zip up your project folder along with all components required to compile and send them to me at chris.glazier@microfocus.com?
I will attempt to get this working in-house and then send it back to you.
Thanks.
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
Chris: thanks for the offer. I can certainly send you the source code. You will also need the Eloquence system (bin, database etc). Is that OK?
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
My offer is to setup the project for you so you can compile and link and not get the 173 error when running the application so that you can debug it yourself.
Please include the database .lib file and the .dll so that I do not have to install Eloquence here.
I will be on vacation starting August 3rd so if I do not receive this by tomorrow (Fri Aug 2nd) it will have to wait until I return.
The alternative would be to open up a support incident with Customer Care.
Thanks.
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
OK, Chris. I've emailed a zip file.
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
Thanks Paul,
I have sent you an e-mail and attached a zip file containing a new BOMPROG folder.
Please unzip this to your C:\\ drive retaining the folder structure within the zip.
Open up BOMPROG.app in the Net Express IDE.
I have set this up so that you should be able to debug the BOMP.EXE directly.
When I start debugging I get an error that eloqdb32.dll is missing which tells me that the link is fine to the image3kc.lib file because it is loading the image3kc.dll which then has as a further dependency of eloqdb32.dll which I do not have because I do not have the actual database installed.
After rereading your message I am now under the impression that perhaps you were trying to debug using the .int file instead of the linked .EXE, is this true?
That would account for the 173 error that you were getting because if you are running the .int then the image3kc.lib would not have been linked in and it would have required that you dynamically load image3kc.dll prior to making the database calls.
Since you are not dynamically loading image3kc.dll and you are instead linking to its import library then you must run with the linked .exe file instead of the .int.
Give this a try and let me know what happens.
Thanks.
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
Chris: thank you. I have sent you a PM with the results.
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
This has now been resolved.
Customer was using Net Express 5.1 Personal Edition base release which had a problem when using the litlink directive with resolving a function in the run-time system.
We changed call to dynamically load the database .dll and then call the functions and customer was able to debug the application and resolve the original subscript overflow problem.
Customer will use Visual COBOL 2.1 PE going forward...
Thanks.
Further to my earlier post on this subject, the problem has arisen again. I have tried Chris' suggestions re cblcored.exe and to
"Copy cblcore over to your development computer and in the Net Express IDE select animate and then browse to the cblcore file and select it. It will need access to your .idy file for debugging information. This will then display your program source and the line on which the error occurred will be highlighted and you can check the contents of the programs variables."
First problem: when I try to animate my program I get a message "173 called program not found in the drive/directory dbopen". I am using a 3rd party library (image3kc.dll/lib).
Second problem: you say "browse to the cblcore file and select it" - not quite sure what this does - if I select it and open it in NE I just get garbage so what did you mean?
Help appreciated!
I'd just like to put on record my appreciation for the help given me by Chris. He was patient and persistent and I eventually got there :-)