Skip to main content

Is there a way to detect an ODBC datasource from COBOL?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

While executing a program this error occurs:

Load error : file 'EXTSM'

error code: 173, pc=0, call=1, seg=0

173     Called program file not found in drive/directory

What must we do to correct this problem?

Resolution:

There is a simple solution. Use the following command to create a Extsm.dll.

cbllink -d -RS -k -v extsm.obj>cbllink.txt<Enter>

Place the extsm.dll in the folder where your application is executing. This will make the sort available to all .EXE and .DLL programs.

Cbllink.txt will capture all the details published by the "verbose" switch (-v) and the "keep" switch (-k) will retain the module definition file (.def) and the import library (.lib) for the dll.

Old KB# 5366

0 replies

Be the first to reply!