Skip to main content

[Migrated content. Thread originally posted on 02 June 2011]

I am a bit frustrated and hope that someone can assist me. I have been trying to set up the debugger portion of Micro Focus with little luck. I created a project (thru IDE as suggested a while back) I have added the necessary cobol files and copybooks. However, once I start animating and stepping thru the process the animation stops with the following error "173 called program file not found in drive/directory PTPSQLRT" However, that file is in the directory. I have tried adding values for cobpath, cobdir etc. to no avail. The documentation only provides you with instuctions about creating a project but it doesn't get any deeper then that. Something is missing or not set up correctly. I have tried just about everything ( I mean the directions don't fully explain everything that needs to be done in order to get this running. The error is quite generic and can happen in a number of applications. Can someone tell me what I am missing or doing wrong? I need to get the debugger running. Is there another way to do this? Do I have to have the Enterprise Server running? Has anyone else been able to debug using just the IDE? I would be really interested in talking with you and very appreciative! I am at a loss.....PLEASE HELP!

[Migrated content. Thread originally posted on 02 June 2011]

I am a bit frustrated and hope that someone can assist me. I have been trying to set up the debugger portion of Micro Focus with little luck. I created a project (thru IDE as suggested a while back) I have added the necessary cobol files and copybooks. However, once I start animating and stepping thru the process the animation stops with the following error "173 called program file not found in drive/directory PTPSQLRT" However, that file is in the directory. I have tried adding values for cobpath, cobdir etc. to no avail. The documentation only provides you with instuctions about creating a project but it doesn't get any deeper then that. Something is missing or not set up correctly. I have tried just about everything ( I mean the directions don't fully explain everything that needs to be done in order to get this running. The error is quite generic and can happen in a number of applications. Can someone tell me what I am missing or doing wrong? I need to get the debugger running. Is there another way to do this? Do I have to have the Enterprise Server running? Has anyone else been able to debug using just the IDE? I would be really interested in talking with you and very appreciative! I am at a loss.....PLEASE HELP!
First of all, what version of Net Express are you running? The 173 really means that the RTS (Run Time System) cannot load or run the program. Assuming that the module you mentioned (PTPSQLRT) is yours, make sure that it compiles cleanly. This has nothing to do with animating the program and all to do with running the program. The other question is what type of executable are you creating? Assuming your trying to run on Windows, DLL’s, exe’s or Micro Focus proprietary executables such as gnts or ints? And last question, is your program the first program you’re trying to run\\animate? Or is it being called by another program? One test you could run to make sure that you’re Net Express is correctly configured is to compile and run the TicTac program. It should be part of the examples or demos. If you cannot find TicTac then just walk through the Using Net Express section in the Getting Started Manual.
Hope this helps.

[Migrated content. Thread originally posted on 02 June 2011]

I am a bit frustrated and hope that someone can assist me. I have been trying to set up the debugger portion of Micro Focus with little luck. I created a project (thru IDE as suggested a while back) I have added the necessary cobol files and copybooks. However, once I start animating and stepping thru the process the animation stops with the following error "173 called program file not found in drive/directory PTPSQLRT" However, that file is in the directory. I have tried adding values for cobpath, cobdir etc. to no avail. The documentation only provides you with instuctions about creating a project but it doesn't get any deeper then that. Something is missing or not set up correctly. I have tried just about everything ( I mean the directions don't fully explain everything that needs to be done in order to get this running. The error is quite generic and can happen in a number of applications. Can someone tell me what I am missing or doing wrong? I need to get the debugger running. Is there another way to do this? Do I have to have the Enterprise Server running? Has anyone else been able to debug using just the IDE? I would be really interested in talking with you and very appreciative! I am at a loss.....PLEASE HELP!
First of all, what version of Net Express are you running? The 173 really means that the RTS (Run Time System) cannot load or run the program. Assuming that the module you mentioned (PTPSQLRT) is yours, make sure that it compiles cleanly. This has nothing to do with animating the program and all to do with running the program. The other question is what type of executable are you creating? Assuming your trying to run on Windows, DLL’s, exe’s or Micro Focus proprietary executables such as gnts or ints? And last question, is your program the first program you’re trying to run\\animate? Or is it being called by another program? One test you could run to make sure that you’re Net Express is correctly configured is to compile and run the TicTac program. It should be part of the examples or demos. If you cannot find TicTac then just walk through the Using Net Express section in the Getting Started Manual.
Hope this helps.

[Migrated content. Thread originally posted on 02 June 2011]

I am a bit frustrated and hope that someone can assist me. I have been trying to set up the debugger portion of Micro Focus with little luck. I created a project (thru IDE as suggested a while back) I have added the necessary cobol files and copybooks. However, once I start animating and stepping thru the process the animation stops with the following error "173 called program file not found in drive/directory PTPSQLRT" However, that file is in the directory. I have tried adding values for cobpath, cobdir etc. to no avail. The documentation only provides you with instuctions about creating a project but it doesn't get any deeper then that. Something is missing or not set up correctly. I have tried just about everything ( I mean the directions don't fully explain everything that needs to be done in order to get this running. The error is quite generic and can happen in a number of applications. Can someone tell me what I am missing or doing wrong? I need to get the debugger running. Is there another way to do this? Do I have to have the Enterprise Server running? Has anyone else been able to debug using just the IDE? I would be really interested in talking with you and very appreciative! I am at a loss.....PLEASE HELP!
We are running 5.1 as I mentioned in the subject line. When we installed the product we got files to compile fine. I apologize; I am very new to this product. I have read the documentation and created a project thru IDE. Do I need to do anything more in order to debug? DO I need to set up the Enterprise server? I would assume to debug we need to connect to the database? I believe NET EXPRESS is configured properly because we have been able to compile and run other programs when we first installed it. We just don’t know how to get the debugger part working. We are creating INT files. This is the first program we have tried to animate. I could not find the TicTac program. I am yet again reading thru the documentation. Should we be able to debug by just setting up the Cobol files and copybooks in a project or I am missing something? Do I have to set up the Enterprise server and then associate it with the project? The whole process to get the debugger to work is a bit confusing for me, sorry. Thank you for replying. Has anyone else successfully set up the debugger and perhaps can give me a few tips? I appreciate any help you can provide.

[Migrated content. Thread originally posted on 02 June 2011]

I am a bit frustrated and hope that someone can assist me. I have been trying to set up the debugger portion of Micro Focus with little luck. I created a project (thru IDE as suggested a while back) I have added the necessary cobol files and copybooks. However, once I start animating and stepping thru the process the animation stops with the following error "173 called program file not found in drive/directory PTPSQLRT" However, that file is in the directory. I have tried adding values for cobpath, cobdir etc. to no avail. The documentation only provides you with instuctions about creating a project but it doesn't get any deeper then that. Something is missing or not set up correctly. I have tried just about everything ( I mean the directions don't fully explain everything that needs to be done in order to get this running. The error is quite generic and can happen in a number of applications. Can someone tell me what I am missing or doing wrong? I need to get the debugger running. Is there another way to do this? Do I have to have the Enterprise Server running? Has anyone else been able to debug using just the IDE? I would be really interested in talking with you and very appreciative! I am at a loss.....PLEASE HELP!
In the installation directory there is a folder called Examples with (i.e. C:\\Program Files\\Micro Focus\\Net Express 5.0\\Examples) a lot of samples. And you could debug following the next steps
Double click in C:\\Program Files\\Micro Focus\\Net Express 5.0\\Examples\\Net Express IDE\\PHONE\\PHONE.APP to open the project PHONE
In the menu project select rebuild all to compile the whole project
To debug the project select “start animate” in the menu “Animate”
Press OK in the start animating window ; the program will be displayed and the sentence to be executed will be showed
To execute the sentence press F11; in the animate menu you will see the different debug options

I think PTPSQLRT is a Peoplesoft program, you must review peoplesoft documentation to see how to compile it.

[Migrated content. Thread originally posted on 02 June 2011]

I am a bit frustrated and hope that someone can assist me. I have been trying to set up the debugger portion of Micro Focus with little luck. I created a project (thru IDE as suggested a while back) I have added the necessary cobol files and copybooks. However, once I start animating and stepping thru the process the animation stops with the following error "173 called program file not found in drive/directory PTPSQLRT" However, that file is in the directory. I have tried adding values for cobpath, cobdir etc. to no avail. The documentation only provides you with instuctions about creating a project but it doesn't get any deeper then that. Something is missing or not set up correctly. I have tried just about everything ( I mean the directions don't fully explain everything that needs to be done in order to get this running. The error is quite generic and can happen in a number of applications. Can someone tell me what I am missing or doing wrong? I need to get the debugger running. Is there another way to do this? Do I have to have the Enterprise Server running? Has anyone else been able to debug using just the IDE? I would be really interested in talking with you and very appreciative! I am at a loss.....PLEASE HELP!
You only need to have Enterprise Server running if you are actually running a CICS or JCL application that requires it or your program is deployed as a web service.

The only real requirement for debugging is that the program is compiled with the ANIM directive and that the .IDY files and source code be available. If you are using a database then yes it needs to be accessible by your application.

If you are getting a 173 error on PTPSQLRT, this means that the runtime system cannot find this program or it cannot load it correctly.

You say that PTPSQLRT exists, but in what format? Is it a .dll, an .int a .gnt?
and where is it located? in the project folder, in the DEBUG folder, etc.?

If you are debugging in the IDE and you are trying to call PTPSQLRT then it needs to be either in the project folder or the DEBUG folder or you will have to make its location available within the PATH if it is a .dll or COBDIR if it is .int or .gnt.

To test the debugging try the following:

1. Start NX IDE.
2. Select File->New->Project
3. Select Empty Project with name of testdebug in location C:\\testdebug and click the Create button.
Answer yes to prompt to create the folder...
4. Select File->New->Program
5. Copy the following into program1.cbl in editor:

id division.
program-id. testdebug.
working-storage section.
procedure division.

display "test debug..."
display "1"
display "2"
display "3" .
stop run.

6. Select File->Save As and navigate to c:\\testdebug and save as testdebug.cbl.
7. Right click in the left hand project build window and select Add Files to project.
8. Double click on testdebug.cbl and testdebug.int and testdebug.cbl should appear in the build window.
9. Select Project->Rebuild All.
10. Double-click on testdebug.int in the build window to start animating. Press OK.
11. Press F11 to single-step thru.
12. When STOP RUN encountered select Animate->Stop Animating.

If this works then Net Express is setup correctly and animation is working fine.

The problem would then appear to be that PTPSQLRT or one of its dependencies cannot be found and we are back to the setting of the PATH or COBDIR.




[Migrated content. Thread originally posted on 02 June 2011]

I am a bit frustrated and hope that someone can assist me. I have been trying to set up the debugger portion of Micro Focus with little luck. I created a project (thru IDE as suggested a while back) I have added the necessary cobol files and copybooks. However, once I start animating and stepping thru the process the animation stops with the following error "173 called program file not found in drive/directory PTPSQLRT" However, that file is in the directory. I have tried adding values for cobpath, cobdir etc. to no avail. The documentation only provides you with instuctions about creating a project but it doesn't get any deeper then that. Something is missing or not set up correctly. I have tried just about everything ( I mean the directions don't fully explain everything that needs to be done in order to get this running. The error is quite generic and can happen in a number of applications. Can someone tell me what I am missing or doing wrong? I need to get the debugger running. Is there another way to do this? Do I have to have the Enterprise Server running? Has anyone else been able to debug using just the IDE? I would be really interested in talking with you and very appreciative! I am at a loss.....PLEASE HELP!
Chris and Edgar,
Thank you both for replying. Both of your suggestions for testing worked so Net Express is set up correctly. After I initially created the project, I was able to animate and step thru it up until the point that I get the 173 error on the PTPSQLRT Cobol file. Edgar, you are correct this is a PeopleSoft COBOL file. The only thing I can think of is that it is trying to connect to the database to get data but we do not have a windows database our infrastructure is UNIX. I made sure that the file was in the directory/project folder so I am not sure why I am getting the “file not found in drive/directory error. I noticed there are 2 debug folders. Does Net Express create one of these folders automatically? I recompiled everything and that worked fine and then I did a rebuild all and that worked fine and then when I started to step thru it dies on the 173 error. If we need to connect to a database is there a way to possibly simulate a database or do we have to have a windows database setup in order for this to work? Once again, your advice is much appreciated and thanks again for replying.

[Migrated content. Thread originally posted on 02 June 2011]

I am a bit frustrated and hope that someone can assist me. I have been trying to set up the debugger portion of Micro Focus with little luck. I created a project (thru IDE as suggested a while back) I have added the necessary cobol files and copybooks. However, once I start animating and stepping thru the process the animation stops with the following error "173 called program file not found in drive/directory PTPSQLRT" However, that file is in the directory. I have tried adding values for cobpath, cobdir etc. to no avail. The documentation only provides you with instuctions about creating a project but it doesn't get any deeper then that. Something is missing or not set up correctly. I have tried just about everything ( I mean the directions don't fully explain everything that needs to be done in order to get this running. The error is quite generic and can happen in a number of applications. Can someone tell me what I am missing or doing wrong? I need to get the debugger running. Is there another way to do this? Do I have to have the Enterprise Server running? Has anyone else been able to debug using just the IDE? I would be really interested in talking with you and very appreciative! I am at a loss.....PLEASE HELP!
Chris and Edgar,
Thank you both for replying. Both of your suggestions for testing worked so Net Express is set up correctly. After I initially created the project, I was able to animate and step thru it up until the point that I get the 173 error on the PTPSQLRT Cobol file. Edgar, you are correct this is a PeopleSoft COBOL file. The only thing I can think of is that it is trying to connect to the database to get data but we do not have a windows database our infrastructure is UNIX. I made sure that the file was in the directory/project folder so I am not sure why I am getting the “file not found in drive/directory error. I noticed there are 2 debug folders. Does Net Express create one of these folders automatically? I recompiled everything and that worked fine and then I did a rebuild all and that worked fine and then when I started to step thru it dies on the 173 error. If we need to connect to a database is there a way to possibly simulate a database or do we have to have a windows database setup in order for this to work? Once again, your advice is much appreciated and thanks again for replying.

[Migrated content. Thread originally posted on 02 June 2011]

I am a bit frustrated and hope that someone can assist me. I have been trying to set up the debugger portion of Micro Focus with little luck. I created a project (thru IDE as suggested a while back) I have added the necessary cobol files and copybooks. However, once I start animating and stepping thru the process the animation stops with the following error "173 called program file not found in drive/directory PTPSQLRT" However, that file is in the directory. I have tried adding values for cobpath, cobdir etc. to no avail. The documentation only provides you with instuctions about creating a project but it doesn't get any deeper then that. Something is missing or not set up correctly. I have tried just about everything ( I mean the directions don't fully explain everything that needs to be done in order to get this running. The error is quite generic and can happen in a number of applications. Can someone tell me what I am missing or doing wrong? I need to get the debugger running. Is there another way to do this? Do I have to have the Enterprise Server running? Has anyone else been able to debug using just the IDE? I would be really interested in talking with you and very appreciative! I am at a loss.....PLEASE HELP!
You need to know what this file is actually trying to do.
I googled it and it says that it is the Peoplesoft COBOL API file which handles communication to the database.

Is this PTPSQLRT file a .dll, .int or .gnt file and what version of Net Express was it compiled with?

We do not handle Peoplesoft support directly and this appears to be a setup problem in the Peoplesoft software.

Have you contacted Peoplesoft to ask them about how to go about using this file with Net Express?

[Migrated content. Thread originally posted on 02 June 2011]

I am a bit frustrated and hope that someone can assist me. I have been trying to set up the debugger portion of Micro Focus with little luck. I created a project (thru IDE as suggested a while back) I have added the necessary cobol files and copybooks. However, once I start animating and stepping thru the process the animation stops with the following error "173 called program file not found in drive/directory PTPSQLRT" However, that file is in the directory. I have tried adding values for cobpath, cobdir etc. to no avail. The documentation only provides you with instuctions about creating a project but it doesn't get any deeper then that. Something is missing or not set up correctly. I have tried just about everything ( I mean the directions don't fully explain everything that needs to be done in order to get this running. The error is quite generic and can happen in a number of applications. Can someone tell me what I am missing or doing wrong? I need to get the debugger running. Is there another way to do this? Do I have to have the Enterprise Server running? Has anyone else been able to debug using just the IDE? I would be really interested in talking with you and very appreciative! I am at a loss.....PLEASE HELP!
Hi Chris,
I suspected that the file was trying to connect to the database and that is why I was getting the error. The file was complied with Net Express 5.1 and the file has a cobol extension - PTPSQLRT.cbl. I have not contacted Oracle (PeopleSoft) about this. I don't believe they can help at all with Net Express and using this file but I can try. I may talk to our infrastructure team too. I was reading about remote debugging. Perhaps this would work? As I mentioned we don't have a windows database and I think we need that in order for this to work. We need a way to communicate with the database. Do you have other customers using Net Express with PeopleSoft? Thanks for replying.