Skip to main content

Load error : file 'csqlsupp' error code: 173, pc=0, call=1, seg=0 173 error message text not found

  • September 23, 2024
  • 7 replies
  • 3 views

Hello!!

I have build the visual cobol function successfully and placed the executable file in the program main folder(where the project and solution files available).

I have created a batch file in the project main folder and added the executable file name at the end.

When I run the batch file getting below error message,

Load error : file 'csqlsupp'
error code: 173, pc=0, call=1, seg=0
173 error message text not found

Could you please help me to understand the error and how to solve the error.

Thanks,

Senthilkumar Mukunthu Thulasiram

7 replies

Stephen Gennard
Forum|alt.badge.img
  • Rocketeer
  • 150 replies
  • September 23, 2024

Hello!!

I have build the visual cobol function successfully and placed the executable file in the program main folder(where the project and solution files available).

I have created a batch file in the project main folder and added the executable file name at the end.

When I run the batch file getting below error message,

Load error : file 'csqlsupp'
error code: 173, pc=0, call=1, seg=0
173 error message text not found

Could you please help me to understand the error and how to solve the error.

Thanks,

Senthilkumar Mukunthu Thulasiram

Are you linking with csqlsupp.lib?

Building COBSQL Applications (microfocus.com)


  • Author
  • Rocketeer
  • 19312 replies
  • September 23, 2024

Are you linking with csqlsupp.lib?

Building COBSQL Applications (microfocus.com)

I'm not sure where it was linked. Seems it is linking in existing program itself.

Could you please help me to find it and how to resolve an error message.


  • Author
  • Rocketeer
  • 19312 replies
  • September 23, 2024

Are you linking with csqlsupp.lib?

Building COBSQL Applications (microfocus.com)

I can see csqlsupp.dll file in the C drive.


Chris Glazier
Forum|alt.badge.img+2
  • Moderator
  • 3697 replies
  • September 23, 2024

I can see csqlsupp.dll file in the C drive.

It sounds as if it just can't find the file at run-time. Are you running the program from a Visual COBOL command prompt, either 32-bit or 64-bit depending on what bitism your program is linked as?

If you are not running it from a VC command prompt then do you have the PATH environment set to include either the Visual COBOL\\bin folder or Visual COBOL\\bin64 folder (depending on whether you are linking as 32-bit or 64-bit?


  • Author
  • Rocketeer
  • 19312 replies
  • September 23, 2024

It sounds as if it just can't find the file at run-time. Are you running the program from a Visual COBOL command prompt, either 32-bit or 64-bit depending on what bitism your program is linked as?

If you are not running it from a VC command prompt then do you have the PATH environment set to include either the Visual COBOL\\bin folder or Visual COBOL\\bin64 folder (depending on whether you are linking as 32-bit or 64-bit?

I have set the platform target as 32bit in the properties.


  • Author
  • Rocketeer
  • 19312 replies
  • September 23, 2024

It sounds as if it just can't find the file at run-time. Are you running the program from a Visual COBOL command prompt, either 32-bit or 64-bit depending on what bitism your program is linked as?

If you are not running it from a VC command prompt then do you have the PATH environment set to include either the Visual COBOL\\bin folder or Visual COBOL\\bin64 folder (depending on whether you are linking as 32-bit or 64-bit?

The 'csqlsupp.dll' file is available in C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\bin

Also, I'm building the program in 32bit platform.

Whether the program is not pointing to the above path?


Chris Glazier
Forum|alt.badge.img+2
  • Moderator
  • 3697 replies
  • September 23, 2024

The 'csqlsupp.dll' file is available in C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\bin

Also, I'm building the program in 32bit platform.

Whether the program is not pointing to the above path?

The program will look in that folder automatically only if you have the dynamic Link option set on the Project Properties->Link tab. It will then look in the Windows registry to find the Visual COBOL install location and use that.

If you have the Shared Link option turned on (default) then it requires that you set the system PATH to include that folder before you run your application. If you are running from within a Visual COBOL command prompt it will set the PATH for you but if you are running the application in some other manner then you will have to set the PATH yourself.